How do I say, slide an element a few pixels to the side from its initial position using jQuery? I know there is an animate() function but I have no idea how to use it. Tips, tutorials would be appreciated.
http://www.un.org。
我现在试图改变变迁因素的背景(我也希望最终放弃背景形象,但现在不是这样......)
I m目前使用以下代码。 什么错误? (连接是指一个部件的bu子)
//light up links on mouseover
$(".link").mouseover(function(event){
$(this).animate({ color : #000099 }, "fast");
});
//dim link on mouseout
$(".link").mouseout(function(event){
$(this).animate({ color : #efefef }, "fast");
});