Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Can someone help with my menu animation? Re: Can someone help with my menu animation?

#68657
cybershot
Participant

I figured this one out. But yes, you should have your code in a list. that would be the propper way to do it.

change the top to bottom, you can also thin your code. When writing a mouseover, mouseout..You can do it this way

Code:
$(document).ready(function() {
$(‘a.menu’).mouseover(function() {
$(this).stop().animate({ “bottom” : “30px” });
}).mouseout(function() {
$(this).stop().animate({ “bottom” : “0px” });
});
});