?? ch18-258.txt
字號:
<HTML>
<HEindex>
<TITLE>技巧篇--加載新標識</TITLE>
</HEindex>
<BODY bgcolor="#fef4d2" >
<br><br>
<center>
<font color="ffaafa"><h2>技巧篇--加載新標識</h2></font>
<hr width=300>
<br><br>
<!-- 案例代碼開始 -->
<script language=JavaScript>
var now = new Date()
var index = (now.getSeconds()) % 3;
index +=1;
<!-- [Step1]: 這里可以按序增加標識的名稱和網(wǎng)址 -->
if (index==1) { txt="263 在線"; url="http://www.263.net.cn"; }
if (index==2) { txt="新 浪 網(wǎng)"; url="http://www.sina.com.cn"; }
if (index==3) { txt="搜 狐 網(wǎng)"; url="http://www.sohu.com"; }
document.write('<center>');
document.write('<a href=\"' + url + '\" target=\"_top\">');
document.write('<br>');
document.write('<middle>' + txt + '</middle></a>');
document.write('</center>');
</script>
<!-- 案例代碼結束 -->
</BODY>
</HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -