I created a menu on my site which has a repeating problem.
Here is example of the problem http://www.screenr.com/qc78 and here is my .js file https://gist.github.com/2003403
Does someone know better solution for my .js code?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You will most likely want to use jquery’s stop()
function(){$(this).find('ul.sub-menu').stop(true, true).slideUp(180)}this is untested but should get you on the right track.