Jump to content

Kurouto Sidebar Toggle Speed


QuotesUK

Recommended Posts

Is there a way of slowing down the way the Sidebar toggles down for sub-categories?

 

I don't mind the way that it toggles down but it is very trigger happy, and you only have to move your cursor over the sidebar before it starts expanding. It usually means you have to start chasing the menu item you are after, or stealthily approach it from the side.

 

Here is the code from /skins/kurouto/js/script.js...

/* Custom JavaScript for default template */
/* Acordion menu (only opens, doesn't collapse) */
$('#menu.accordion a ~ ul').each(function(){
	$(this).siblings('a:first').addClass('menu_closed').hover(function(){
		$(this).addClass('menu_open').siblings('ul').slideDown();
		return;
	});
});
Link to comment
Share on other sites

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...