228011as
|
分享:
▲
不太确定你要什么~~ <script language="JavaScript"> <!-- function float(flayer) { if (navigator.appName.indexOf('Netscape', 0) != -1) { layer = document.layers[flayer]; layer.left = window.pageXOffset + innerWidth - layer.clip.width - 16; layer.top = window.pageYOffset + innerHeight - layer.clip.height; } else { layer = document.all[flayer]; layer.style.pixelLeft = document.body.scrollLeft +document.body.clientWidth - layer.style.pixelWidth-2; layer.style.pixelTop = document.body.scrollTop+document.body.clientHeight - layer.style.pixelHeight; } window.setTimeout ("float('clock')",200); } --> </script> </head> <body background="bg.gif" OnLoad="float('clock');"> <p> <div id="clock" style="width:60px; height:500px; position:absolute; left:30px; top:14px; z-index:1;"> <p><a href="#top"><img src="clock.gif" width="60" height="60" border="0" alt="go to top"></a></p> </div>
width:60px; height:500px表示萤幕中的位置 img src="clock.gif" width="60" height="60"图片位置跟图片大小 alt="go to top"按下去到页首 不是的话~我在查查看^^"
|