具体实现代码。或思路?
------解决方案--------------------
用js实现
- HTML code
<head><script language=JavaScript>function move( ){document.getElementById("Layer1").style.left= Math.random()*500;document.getElementById("Layer1").style.top= Math.random()*500;setTimeout("move()",1000);}</script></head><body onload="move( )""><DIV id="Layer1" style="position:absolute; left:14px; top:44px; width:150px; height:102px; z-index:1"><A href="超连接"><IMG src="图片路径" width="150" height="100" border="0"></A></DIV><H2>随机漂浮的广告</H2></BODY>