語法展示:: http://home.graffiti.net/hygtdfds/
請用IE6.0或更新版本觀看語法特效展示
將以下程式碼複製,貼在<body>及</body>標籤之間。
<center>
<script language="JavaScript">
<!--
document.write("<IMG SRC='a.gif'>");
document.write("<IMG SRC='0.gif' NAME='h10'>");
document.write("<IMG SRC='0.gif' NAME='h1'>");
document.write("<IMG SRC='c.gif'>");
document.write("<IMG SRC='0.gif' NAME='m10'>");
document.write("<IMG SRC='0.gif' NAME='m1'>");
document.write("<IMG SRC='c.gif'>");
document.write("<IMG SRC='0.gif' NAME='s10'>");
document.write("<IMG SRC='0.gif' NAME='s1'>");
document.write("<IMG SRC='b.gif'>");
image0 = new Image();image0.src = "0.gif";
image1 = new Image();image1.src = "1.gif";
image2 = new Image();image2.src = "2.gif";
image3 = new Image();image3.src = "3.gif";
image4 = new Image();image4.src = "4.gif";
image5 = new Image();image5.src = "5.gif";
image6 = new Image();image6.src = "6.gif";
image7 = new Image();image7.src = "7.gif";
image8 = new Image();image8.src = "8.gif";
image9 = new Image();image9.src = "9.gif";
updateClockImage();
function updateClockImage() {
var time = new Date();
document.images['s1'].src =
eval("image" + (time.getSeconds() % 10) +".src");
document.images['s10'].src =
eval("image" + (Math.floor(time.getSeconds() / 10)) +".src");
document.images['m1'].src =
eval("image" + (time.getMinutes() % 10) +".src");
document.images['m10'].src =
eval("image" + (Math.floor(time.getMinutes() / 10)) +".src");
document.images['h1'].src =
eval("image" + (time.getHours() % 10) +".src");
document.images['h10'].src =
eval("image" + (Math.floor(time.getHours() / 10)) +".src");
setTimeout("updateClockImage()",1000);
}
-->
</script>
</center>
不要忘記把附件也帶走喔!!...... >>>>>>>>>帶我回家<<<<<<<<<
附件解壓縮以後置於網頁同一目錄下
留言列表