Simple accordion menus
$(document).ready(function(){ $('#celebs ul > li ul') .click(function(event){ event.stopPropagation(); }) .filter(' :not(:first)') .hide(); $('#celebs ul > li').click(function(event){ var selfClick=$(this).find('url:first').is('visible'); if(!selfClick){ $(this) .parent() .find('> li ul:visible') .slideToggle(); } $(this) .find('ul:first') .stop(true,true) .slideToggle();…