哪位好心人可以建议我如何将这张图片从左向右缓慢发送?我可以看到图像,我可以单击它转到 url,但它没有动画,只是立即出现?谢谢
<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js">
</script>
<script>
$( "#lefttoright" ).animate({opacity: 0.25, left: "=250",
height: "toggle" }, 5000, function() { // Animation complete.
});});
</script>
</head>
<body>
<div id="lefttoright">
<a href="http://www.stackoverflow.com" title="go to link">
<img src="/images/leftright.png" alt="news" width="150" height="75" /></a>
</div>
</body>
</html>