?? 3-4.htm
字號:
<html>
<head>
<title>滾動鏈接</title>
<body background="02.jpg">
<table align="center">
<table align="center" bgcolor=#FFFF00 border=1
bordercolordark=#000000 bordercolorlight=#006666
cellspacing=0 width="200" bordercolor="#FFFFFF">
<td height="11" align="center" width="300">
<script language=JavaScript>
var index = 6
link = new Array(5);
text = new Array(5);
link[0] ='#'
link[1] ='#' <!--鏈接的url-->
link[2] ='#' <!--鏈接的url-->
link[3] ='#' <!--鏈接的url-->
link[4] ='#' <!--鏈接的url-->
link[5] ='#' <!--鏈接的url-->
text[0] ='友情鏈接'
text[1] ='網(wǎng)易網(wǎng)站' <!--鏈接的內(nèi)容-->
text[2] ='搜狐網(wǎng)站' <!--鏈接的內(nèi)容-->
text[3] ='雅虎網(wǎng)站' <!--鏈接的內(nèi)容-->
text[4] ='淘寶網(wǎng)站' <!--鏈接的內(nèi)容-->
text[5] ='新浪網(wǎng)站' <!--鏈接的內(nèi)容-->
document.write ("<marquee scrollamount='1' scrolldelay='60' direction= 'up'width='100' id=table height='100' onmouseover=table.stop() onmouseout=table.start()>");
for (i=0;i<index;i++)
{
document.write ("<a href="+link[i]+" target='_blank'><font color=#003399>"); <!--滾動條的內(nèi)容,包含每一個鏈接-->
document.write (text[i] + "</font></A><br>"); <!--鏈接的內(nèi)容-->
}
document.write ("</marquee>")
</script>
</td>
</tr>
</table>
</td>
</tr>
<tr align=middle>
<td height="2"></td>
</tr>
</table>
</body>
</html>
<!--本例程實現(xiàn)了滾動鏈接-->
<!--滾動條滾動的簡單做法-->
<!--鏈接的使用-->
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -