演
示
源
代
码
<script language=JavaScript> function setVariables() { imgwidth=
; imgheight=
; if (navigator.appName == "Netscape") { horz=".left"; vert=".top"; docStyle="document."; styleDoc=""; innerW="window.innerWidth"; innerH="window.innerHeight"; offsetX="window.pageXOffset"; offsetY="window.pageYOffset"; } else { horz=".pixelLeft"; vert=".pixelTop"; docStyle=""; styleDoc=".style"; innerW="document.body.clientWidth"; innerH="document.body.clientHeight"; offsetX="document.body.scrollLeft"; offsetY="document.body.scrollTop"; } } function checkLocation() { objectXY="branding"; var availableX=eval(innerW); var availableY=eval(innerH); var currentX=eval(offsetX); var currentY=eval(offsetY); x=availableX-(imgwidth+30)+currentX; y=availableY-(imgheight+20)+currentY; evalMove(); setTimeout("checkLocation()",10); } function evalMove() { eval(docStyle + objectXY + styleDoc + horz + "=" + x); eval(docStyle + objectXY + styleDoc + vert + "=" + y); } </script> <script language=JavaScript> <!--Hide from non JavaScript browsers an = 3 var ran = Math.random(); var talet = Math.round(ran * (an-1))+1; function create() { this.src = '' } b = new Array() for(var i=1; i<=an; i++) { b[i] = new create() } b[1].src = "'http://
'" b[2].src = "'http://
'" b[3].src = "'http://
'" var vis = ""; vis = vis+b[talet].src+" target='_blank'" //--> </script> <div id=branding style="LEFT: 211px; POSITION: absolute; TOP: 143px; Z-INDEX: 2"> <script language=JavaScript> document.write("<a href="+vis+"><img src='
' border='0' alt='这是一个随机链接条,看看今天去哪里?'></a>"); </script> </div>
图形永远在下方
图形文件名:
图形宽:
(实际数值减25)
图形高:
(实际数值减15)
随机链接http//:
随机链接http//:
随机链接http//:
注释:放在<body****>里
注释:放在<body>与</body>之间
当前位置:
首 页
→
JavaScript
→
图形特效
→图形永远在下方
··万旭网站工作室 设计发布··