|
樓主 |
發表於 2011-8-1 00:13:40
|
顯示全部樓層
萬花筒血輪眼!!!
<script type="text/javascript"><!--
var background = "http://i1108.photobucket.com/albums/h413/english0919123/Picture/0710/01.jpg";
var speed = 50;
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
if (browserName != "Netscape" || browserVer >= 4.5) {
function moveback(movert,movedn,hPos,vPos) {
if (arguments[4]) document.body.style.backgroundImage = "url(\"" + arguments[4] + "\")";
if (arguments[5]) document.body.style.backgroundRepeat = arguments[5]
if (!isNaN(hPos)) {if ((movert!=0) && (hPos>0)) hPos=-100000; hPos += movert}
if (!isNaN(vPos)) {if ((movedn!=0) && (vPos>0)) vPos=-100000; vPos+= movedn}
document.body.style.backgroundPosition= hPos + " " + vPos
if (isNaN(hPos)) hPos = "\"" + hPos + "\""
if (isNaN(vPos)) vPos = "\"" + vPos + "\""
setTimeout("moveback("+movert+","+movedn+","+hPos+","+vPos+")",speed)}
moveback(1,1,0,0, background);}
// --></script>
[ 本帖最後由 ul6193 於 2011-8-1 12:01 編輯 ] |
|