/    Sign up×
Community /Pin to ProfileBookmark

Fire Fox 5 Problem – Chain of animation starts in the child element

I created a dropdown menu using jquery. So when I hover over a button it slides down the menu. Now if I move the mouse out of the menu and bring it back in before it slides up(menu has a lot of items so there is enough time to bring the mouse back in on the menu)over the dropdown menu it starts a chain of slideDown() and slideUp() functions and it does not stop till I move the mouse of the menu or back on the button. Below is my jquery code:

[CODE]$(function() {

$(‘#projects’).mouseenter(function(){
$(‘#dd_Projects’).slideDown();

});

$(‘#projects’).mouseleave(function(){
$(‘#dd_Projects’).slideUp();

});

});[/CODE]

I have been looking online and I have already tried e.stopPropagation() but it does not work.

This is only happening in Fire Fox, everything works fine in IE7, IE8, Safari, Chrome, not sure about other versions of firefox.

Please advise

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@fozailauthorJun 23.2011 — Anyone??
×

Success!

Help @fozail spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...