爱易网
IT新闻
IT新闻
爱易资讯
网站搭建
云虚拟主机教程
云服务器教程
Apache教程
IIS教程
Nginx教程
网站策划
站长文章
推广教程
淘宝客教程
网页设计
HTML教程
XHTML教程
CSS教程
HTML5教程
CSS3教程
JavaSript基础
JQuery教程
Node.js教程
前端技术
Ajax教程
Js特效
Xml教程
平面设计
页面UI设计
photoshop教程
程序开发
AI人工智能
Asp教程
Php教程
Asp.Net教程
Net Core教程
C#教程
Java教程
Jsp教程
开发技术
微信小程序教程
Uniapp开发教程
微信公众号开发
Andriod教程
IOS教程
DOS教程
Python教程
Docker教程
Windows Container教程
数据库
MSSQL教程
MySQL教程
Redis教程
Access教程
Oracle教程
数据库教程
操作系统
Linux教程
Windows教程
MAC教程
Cisco教程
交换机教程
防火墙教程
搜索
爱易网页
JS特效
滚动链接导航
滚动链接导航
日期:2014-05-18 浏览次数:20198 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
脚本说明: 把如下代码加入<body>区域中 <script> var scrollerwidth=115 var scrollerheight=131 var scrollerbgcolor='#FFFFFF' //3000 miliseconds=9 seconds var pausebetweenimages=4000 var slideimages=new Array() slideimages[0]='<a href="http://www.yahoo.com.cn" target="_blank">中文雅虎</a><br><br><a href="http://www.263.net" target="_blank">首都在线</a><br><br><a href="http://fsnet.yes8.com/" target="_blank">网络特区</a><br><br><a href="http://go.163.com/~xiaofengyun/" target="_blank">风 云 居</a>' slideimages[1]='<a href="" target="_blank">你的链接</a><br><br><a href="" target="_blank">你的链接</a><br><br><a href="" target="_blank">你的链接</a><br><br><a href="" target="_blank">你的链接</a>' slideimages[2]='<a href="http://www.yahoo.com.cn" target="_blank">中文雅虎</a><br><br><a href="http://www.263.net" target="_blank">首都在线</a><br><br><a href="http://fsnet.yes8.com/" target="_blank">网络特区</a><br><br><a href="" target="_blank">你的链接</a>' slideimages[3]='<a href="" target="_blank">你的链接</a><br><br><a href="" target="_blank">你的链接</a><br><br><a href="" target="_blank">你的链接</a><br><br><a href="" target="_blank">你的链接</a>' if (slideimages.length>1) i=2 else i=0 function move1(whichlayer){ tlayer=eval(whichlayer) if (tlayer.top>0&&tlayer.top<=4){ tlayer.top=0 setTimeout("move1(tlayer)",pausebetweenimages) setTimeout("move2(document.main.document.second)",pausebetweenimages) return } if (tlayer.top>=tlayer.document.height*-1){ tlayer.top-=4 setTimeout("move1(tlayer)",100) } else{ tlayer.top=scrollerheight tlayer.document.write(slideimages[i]) tlayer.document.close() if (i==slideimages.length-1) i=0 else i++ } } function move2(whichlayer){ tlayer2=eval(whichlayer) if (tlayer2.top>0&&tlayer2.top<=4){ tlayer2.top=0 setTimeout("move2(tlayer2)",pausebetweenimages) setTimeout("move1(document.main.document.first)",pausebetweenimages) return } if (tlayer2.top>=tlayer2.document.height*-1){ tlayer2.top-=4 setTimeout("move2(tlayer2)",100) } else{ tlayer2.top=scrollerheight tlayer2.document.write(slideimages[i]) tlayer2.document.close() if (i==slideimages.length-1) i=0 else i++ } } function move3(whichdiv){ tdiv=eval(whichdiv) if (tdiv.style.pixelTop>0&&tdiv.style.pixelTop<=4){ tdiv.style.pixelTop=0 setTimeout("move3(tdiv)",pausebetweenimages) setTimeout("move4(second2)",pausebetweenimages) return } if (tdiv.style.pixelTop>=tdiv.offsetHeight*-1){ tdiv.style.pixelTop-=4 setTimeout("move3(tdiv)",100) } else{ tdiv.style.pixelTop=scrollerheight tdiv.innerHTML=slideimages[i] if (i==slideimages.length-1) i=0 else i++ } } function move4(whichdiv){ tdiv2=eval(whichdiv) if (tdiv2.style.pixelTop>0&&tdiv2.style.pixelTop<=4){ tdiv2.style.pixelTop=0 setTimeout("move4(tdiv2)",pausebetweenimages) setTimeout("move3(first2)",pausebetweenimages) return } if (tdiv2.style.pixelTop>=tdiv2.offsetHeight*-1){ tdiv2.style.pixelTop-=4 setTimeout("move4(second2)",100) } else{ tdiv2.style.pixelTop=scrollerheight tdiv2.innerHTML=slideimag
上一篇:狡猾的按钮特效
下一篇:又一个鼠标右键导航菜单
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
史玉柱卸任巨人网络CEO 继位人选引猜想
中移动五大基地将整改成公司:被指易滋生腐败
蓝宝石PK大猩猩玻璃:作为屏幕谁更有优势?
揭秘:阿里巴巴“无人认领”的三成股权都归谁
支付宝27日晚间曝严重破绽:买卖记载可被搜索
银联布局二维码支付,“擦边球”生态不能自救
搜狐与奇虎360或结盟对抗BAT
顺丰O2O便利店将正式启动:涉及金融服务
国美苏宁线上首度正面PK 京东列席4月电商战
推荐阅读
更多>
百度“全网寻人”面前的互联网信息枢纽价值
完美入股盛大:一桩各怀心事的交易
诺基亚依托规模效应 猛攻国际市场空白
第二梯队也PK:当1号店“遇上”京东手机节
运营商补贴减少 国内通信业拐点逼近
三大运营商获通知大减营销费 传3年减400多亿
联发科享用价钱战 专利难以摆脱高通
HDS发布《2013中国CIO洞察白皮书》
马斯克的特斯拉能否保持好势头
屌丝程序猿发家机会来了 用大数据来做生意!
搜房网遭遇做空 利益保送成“猎杀”焦点
微软很“捉急”:补贴Win8 重加末尾按钮
薛蛮子取保后首次发微博表示:辜负你们了
传诺基亚Lumia928下月推出 将与iPhone5看齐
首家国有独资P2P平台上线 或预示政策日渐明朗
墨迹也要做硬件,工具类应用如何“变异”的
9月1日起免征新能源汽车购置税
戴尔新CEO名单曝光:惠普甲骨文高管在列
微信收费形式三选一 腾讯或变身运营商
代工厂生活危机:“富士康们”何去何从?