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"按下去到頁首 不是的話~我在查查看^^"
|