語法展示::  http://home.graffiti.net/juygfh/


請用IE6.0或更新版本觀看語法特效展示

將以下程式碼複製,貼在<body>及</body>標籤之間。

<center>
<table border="0" width="100%" cellspacing="2" cellpadding="2">
<tr>
<td width=50% bgcolor="#80BFFF">
<div id="scriptmenu">
<a href="http://tw.yahoo.com/" target="_blank" onMouseover="changetext(content[0])">奇摩</a><br>
<a href="http://chinese.yahoo.com/" target="_blank" onMouseover="changetext(content[1])">雅虎</a><br>
<a href="http://www.yam.com/" target="_blank" onMouseover="changetext(content[2])">蕃薯藤</a><br>
<a href="http://www.sina.com.tw/" target="_blank" onMouseover="changetext(content[3])">新浪網</a><br>
<a href="http://www.pchome.com.tw/" target="_blank" onMouseover="changetext(content[4])">PC home</a>
</div>
</td>
<td valign="top" bgcolor="#BFDFFF">
<ilayer id="d1" width="100">
<layer id="d2" width="100" height="150">
<div id="descriptions" align="left"></div>
</layer>
</ilayer>
</td>
</table>
</center>



將以下程式碼複製,貼在<head>及</head>標籤之間。

<script language="JavaScript">
<!--
var content=new Array()
content[0]='台灣入口網站 1<br>其它說明自己寫'
content[1]='台灣入口網站 2<br>其它說明自己寫'
content[2]='台灣入口網站 3<br>其它說明自己寫'
content[3]='台灣入口網站 4<br>其它說明自己寫'
content[4]='台灣入口網站 5<br>其它說明自己寫'
function regenerate(){
window.location.reload()
}
function regenerate2(){
if (document.layers)
setTimeout("window.onresize=regenerate",450)
}
function changetext(whichcontent){
if (document.all)
descriptions.innerHTML=whichcontent
else if (document.layers){
document.d1.document.d2.document.write(whichcontent)
document.d1.document.d2.document.close()
}
}
-->
</script>


content[0]='台灣入口網站 1<br>其它說明自己寫' 中修改各連結的文字說明

arrow
arrow
    全站熱搜

    uuiop6623 發表在 痞客邦 留言(0) 人氣()