Jump to content

Drop Down Category Expand Problem


Guest
 Share

Recommended Posts

  • 2 months later...

Is there any way to have just one category expand at a time? I have it working with the hoover and collapsing when you move out of the menu but if you scroll the mouse down through the categories, even really quickly, it expands all the menus.

Sorta hard to explain but hopefully that makes sense and is possible.

Link to comment
Share on other sites

Easier question...

$('#menu.accordion a ~ ul').each(

 function(){

	    $(this).siblings('a:first').addClass('menu_closed').click(function(){

			    if(!$(this).hasClass('menu_open')) {

					    $(this).addClass('menu_open').siblings('ul').slideUp();

					    return false;

			    }

	    }

	    );

});



I can't get that to work. I click and the arrow points down but no categories are shown. http://www.maximalpe...store/index.php

Any ideas?

Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...