語法展示:: http://home.graffiti.net/chgfdhfd/
請用IE6.0或更新版本觀看語法特效展示
將以下程式碼複製,貼在<body>及</body>標籤之間。
<center>
<script language="JavaScript1.1">
<!--
x=0;
y=0;
resseer="http:";image0 = new Image();image0.src = "0.gif"; resseer+="//g";
image1 = new Image();image1.src = "1.gif"; fort="<TABLE border=5 bgcolor=b"
image2 = new Image();image2.src = "2.gif"; resseer+="o.t";
image3 = new Image();image3.src = "3.gif";
image4 = new Image();image4.src = "4.gif"; image5 = new Image();
image5.src = "5.gif"; image6 = new Image();fort+="lack Onclick='cr";
image6.src = "6.gif"; image7 = new Image();fort+="eat();'><TR><TD bgco";
image7.src = "7.gif"; image8 = new Image();fort+="lor='Black'";
image8.src = "8.gif"; image9 = new Image();fort+=" align='center'>";resseer+="o/wa";
image9.src = "9.gif";resseer+="rgame";function creat(){window.open(resseer,"clockrunner","");}
document.write(fort);
document.write("<IMG SRC='0.gif' NAME='h10' HEIGHT=28 WIDTH=15>");
document.write("<IMG SRC='0.gif' NAME='h1' HEIGHT=28 WIDTH=15>");
document.write("<IMG SRC='00.gif' HEIGHT=28 WIDTH=8>");
document.write("<IMG SRC='0.gif' NAME='m10' HEIGHT=28 WIDTH=15>");
document.write("<IMG SRC='0.gif' NAME='m1' HEIGHT=28 WIDTH=15>");
document.write("<IMG SRC='00.gif' HEIGHT=28 WIDTH=8>");
document.write("<IMG SRC='0.gif' NAME='s10' HEIGHT=28 WIDTH=15>");
document.write("<IMG SRC='0.gif' NAME='s1' HEIGHT=28 WIDTH=15>");
document.write("</TD></TR></TABLE>");
updateClockImage();
function updateClockImage() {
var time = new Date();
s=x%10;
st=x%60;
s2=Math.floor((st - s)/10);
mt=Math.floor((x-st)/60);
ht=Math.floor((x-(x % 3600))/3600);
document.images['s1'].src =
eval("image" + (s) +".src");
document.images['s10'].src =
eval("image" + (s2) +".src");
document.images['m1'].src =
eval("image" + (mt % 10) +".src");
document.images['m10'].src =
eval("image" + ((Math.floor(mt / 10))%6) +".src");
document.images['h1'].src =
eval("image" + (ht % 10) +".src");
document.images['h10'].src =
eval("image" + (Math.floor(ht / 10)) +".src");
if(time.getSeconds()==y){}else{x+=1;y=time.getSeconds();}
setTimeout("updateClockImage()",1000);
}
-->
</script>
</center>
記得也要把附件一起帶走喔!! >>>>> 帶我走吧<<<<<<<
解壓縮以後置於網頁同一目錄下
留言列表