Jump to content

Drop Down Category Expand Problem


Guest

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

That may be enough for this post, but if you put all your info in your sig it will be available to every thread you post in. Saves time all around. Have you tried changing to a different color skin with the suggested edit to see if it works there, just to be sure it's not an error in editing?

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.

×
×
  • Create New...