15、动态向上移动导航

15、动态向上移动导航

脚本说明:

 

把如下代码加入<body>区域中

 

<script language=javascript>

 

<!--

 

var index = 9

 

link = new Array(8);

 

text = new Array(8);

 

 

 

link[0] ='http://www.7stk.com'

 

link[1] ='http://www.7stk.com'

 

link[2] ='http://www.7stk.com'

 

link[3] ='http://www.7stk.com'

 

link[4] ='http://www.7stk.com'

 

link[5] ='http://www.7stk.com'

 

link[6] ='http://www.7stk.com'

 

link[7] ='http://www.7stk.com'

 

link[8] ='http://www.7stk.com'

 

 

 

 

text[0] ='说明一'

 

text[1] ='说明一'

 

text[2] ='说明一'

 

text[3] ='说明一'

 

text[4] ='说明一'

 

text[5] ='说明一'

 

text[6] ='说明一'

 

text[7] ='说明一'

 

text[8] ='说明一'

 

 

 

document.write ("<marquee scrollamount='1' scrolldelay='100' direction= 'up' width='150' height='150'>");

 

 

 

for (i=0;i<index;i++){

 

document.write ("&nbsp;<img src='arrow.gif' width='12' height='12'><a href="+link[i]+" target='_blank'>");

 

document.write (text[i] + "</A><br>");

 

}

 

document.write ("</marquee>")

 

// -->

 

</script>

 

 

Write a comment

Comments: 0