爱易网
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 浏览次数:20127 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
脚本说明: 把如下代码加入<body>区域中 <SCRIPT language=JavaScript1.2> var des=new Array() des[0]="<style>\nbody {scrollbar-3dlight-color:red}\n</style>" des[1]="<style>\nbody {scrollbar-arrow-color:red}\n</style>" des[2]="<style>\nbody {scrollbar-base-color:red}\n</style>" des[3]="<style>\nbody {scrollbar-darkshadow-color:red}\n</style>" des[4]="<style>\nbody {scrollbar-face-color:red}\n</style>" des[5]="<style>\nbody {scrollbar-highlight-color:red}\n</style>" des[6]="<style>\nbody {scrollbar-shadow-color:red}\n</style>" des[7]="<style>\nbody {scrollbar-track-color:red}\n</style>" function showdetail(cur,c,which){ if (c==1&&document.all){ cur.style.color="red" cur.style.cursor="hand" } else if (document.all){ cur.style.color="" } if (which==20&&document.all){ document.scroll.scroll2.value='' document.body.style.cssText="" } else{ document.scroll.scroll2.value=des[which] if (document.all){ if (which==0) document.body.style.cssText="scrollbar-3dlight-color='red'" else if (which==1) document.body.style.cssText="scrollbar-arrow-color='red'" else if (which==2) document.body.style.cssText="scrollbar-base-color='red'" else if (which==3) document.body.style.cssText="scrollbar-darkshadow-color='red'" else if (which==4) document.body.style.cssText="scrollbar-face-color='red'" else if (which==5) document.body.style.cssText="scrollbar-highlight-color='red'" else if (which==6) document.body.style.cssText="scrollbar-shadow-color='red'" else if (which==7) document.body.style.cssText="scrollbar-track-color='red'" } } } function test(){ if (document.all) document.body.style.cssText="scrollbar-face-color:#DFFFBF;scrollbar-shadow-color:green" } </SCRIPT> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD width="100%"> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD width="40%"><FONT face=Arial size=2><SPAN onmouseover=showdetail(this,1,0) onmouseout=showdetail(this,0,20)>1) scrollbar-3dlight-color</SPAN><BR>2) <SPAN onmouseover=showdetail(this,1,1) onmouseout=showdetail(this,0,20)>scrollbar-arrow-color</SPAN><BR>3) <SPAN onmouseover=showdetail(this,1,2) onmouseout=showdetail(this,0,20)>scrollbar-base-color</SPAN><BR>4) <SPAN onmouseover=showdetail(this,1,3) onmouseout=showdetail(this,0,20)>scrollbar-darkshadow-color</SPAN><BR>5) <SPAN onmouseover=showdetail(this,1,4) onmouseout=showdetail(this,0,20)>scrollbar-face-color</SPAN><BR>6) <SPAN onmouseover=showdetail(this,1,5) onmouseout=showdetail(this,0,20)>scrollbar-highlight-color</SPAN><BR>7) <SPAN onmouseover=showdetail(this,1,6) onmouseout=showdetail(this,0,20)>scrollbar-shadow-color</SPAN><BR>8) <SPAN onmouseover=showdetail(this,1,7) onmouseout=showdetail(this,0,20)>scrollbar-track-color</SPAN> </FONT></TD> <TD vAlign=center align=left width="100%"> <FORM name=scroll action=--WEBBOT-SELF-- method=post> <TEXTAREA name=scroll2 rows=5 wrap=virtual cols=39></TEXTAREA> </FORM>
上一篇:狡猾的按钮特效
下一篇:多输入框字母限制
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
曹国伟:微博将关注Facebook和Twitter
亚马逊推特价闪购纪念入华十周年 总裁一职仍空缺
微软大幅调整Bing在华策略:从高大上到接地气
微信企业号必须搬走四座大山,否则只能铩羽而归!
传苹果与雅虎协作信息提供 进一步摆脱谷歌
迅雷再次在美提交IPO申请
首家国有独资P2P平台上线 或预示政策日渐明朗
墨迹也要做硬件,工具类应用如何“变异”的
清点:罗永浩推锤子ROM 小米打法遭模拟
推荐阅读
更多>
打车软件“明补变暗补”背后的小算盘
阿里马云:我觉得互联网还有十年可以做
评论:阿里为什么不试着收购一家香港媒体呢
蘑菇街CEO陈琪:2015将回归社会化电商
互联网金融一周年:余额宝最接地气,比特币最作死
盘点改变社会的15种科技:谷歌眼镜将使我们成为半机械人
中国电信内外受困 去电信化思绪待改
同程旅游融资后变土豪 如何烧钱占领市场?
独立工具APP:为亿级用户的商业化而愁
马云的SNS之梦有了新目标 收购“微博”
中移动财报外的"五座大山":运营商沦为走秀陪衬
京东确定IPO定价区间 最高募资16.9亿美元
靠谱分析:6月发生的WWDC和谷歌I/O大会,将会出现哪些新产品?
马云:银行若放开存款利率 余额宝死了也光荣
2018年阿里云双11活动如何参加?1折优惠大攻略
苹果股价突破100美元大关:投资者看好iPhone 6
传4G牌照国庆节前后发放 TD-LTE制式优先
弯曲变形:手机全新的交互方式
玩游戏式的趣味戒烟App:Kwit
虚拟运营市场躁动:山西煤老板兴味浓重