今天是

爱酷家


当前位置:首页 > 资源收藏 > 特效代码

带连接的滚动导航特效

收集整理   发布时间:2012-11-23 19:58:00   阅读

带连接的滚动导航特效

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

<script language=javascript>
<!--
var index = 9
link = new Array(8);
text = new Array(8);

//此处换上您的链接
link[0] ='../index.html'
link[1] ='../html.htm'
link[2] ='../css.htm'
link[3] ='../js.htm'
link[4] ='../fp.htm'
link[5] ='../ps.htm'
link[6] ='../flash.htm'
link[7] ='../source.htm'
link[8] ='../free.htm'

//此处换上您的链接文字
text[0] ='<font face="Arial">HOME</font>'
text[1] ='<font face="Arial">HTML</font>'
text[2] ='<font face="Arial">CSS</font>'
text[3] ='<font face="Arial">JAVASCRIPT</font>'
text[4] ='<font face="Arial">FRONTPAGE</font>'
text[5] ='<font face="Arial">PHOTOSHOP</font>'
text[6] ='<font face="Arial">FLASH</font>'
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 (" <img src='../image/dot.gif' width='10' height='10' border='0'><a href="+link[i]+" target='_blank'>");
document.write (text[i] + "</A><br>");
}
document.write ("</marquee>")
// -->
</script>

 



注:⊙如转载本站原创作品,请务必包保留本文地址:

内容: