By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,238 Members | 1,657 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,238 IT Pros & Developers. It's quick & easy.

Slidedown slow not completing

P: 426
I'm using an unordered list to create a menu and nesting the list to create a submenu.
I want to submenu to expand when you click on it and then go to the main menu item.
I've used the SlideDown function to get the menu to expand like an accordion but it only works if I set the slideDown to fast. If I use slow or normal it doesn't slide all the way down. Is this because it follows the link before it's finished? Is there a way to delay the link?
Oct 26 '11 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 15k+
P: 16,027
Based on what you've said, that's what it seems.

If we ignore the fact that it's probably not even necessary, if slideDown has a complete/success event, you could add the link there and have a return false for the link onclick.
Oct 27 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.