本文实例讲述了js实现图片漂浮效果的方法。分享给大家供大家参考。具体分析如下:
描述:打开网页就看到不停在飘动的图片,点击连接到其他页面;起到着重强调的效果!
代码如下:<html>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″>
<title>test</title>
<style type=”text/css”>
#All{ width: 100%; height: 3000px;}
</style>
</he