1
<div id="animate" style="position: fixed; top: 150px; right: -1000px; width: 100%;height: 300px;"><A HREF="http://www.example.nl"><img src="http://www.example.nl/img/test.png"></a></div>
<script>
$('#animate').animate({
right: '2000px',
}, 50000, function() {
// Animation complete.
});
</script>
这个脚本的问题是,如果我在Chrome中运行它,它会从右向左滑动。但是,只要我想在FireFox中运行它,他就会冻结,并且根本不会移动。jquery水平滑块不工作firefox
谢谢正手
好试了一下,不幸的是它没有工作。 –
看看我的编辑!您将动画时间设置为50秒。那是正确的? – supersize