[jQuery] Can stop() be used without animation?
I know that stop() works well when using animation, such as when one
passes their mouse over a series of animations to prevent the
animation from continuing. However, I in my code I am using hide()
and fadeIn() to do the work:
$('li').hover(
function() {
$(this).find('div.SectionTitle').hide();
$(this).find('div.Explanation').fadeIn(150);
},
function() {
$(this).find('div.Explanation').hide();
$(this).find('div.SectionTitle').fadeIn(150);
}
)
I have not been able to get stop() to work with these methods. Does
stop() only work with animation? If so then is there an equivalent
function that would work for me? It's not too big of a deal since the
chances are that one will not be moving too quickly over my list
items, but it would be nice if there was a way to cope with this.
Cheers -
george
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home