爱易网
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 浏览次数:20131 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
脚本说明: 把如下代码加入<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>
上一篇:狡猾的按钮特效
下一篇:多输入框字母限制
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
广东移动高层受调查 中移动或现更大反腐风暴
快递企业征收“份子钱” 成全了谁 苦了谁?
华为坚持不上市究竟为何?不差钱也不想冒风险
2019双12阿里云老用户怎么参加拼团活动 老用户拼团方法
薛蛮子取保后首次发微博表示:辜负你们了
打车软件“明补变暗补”背后的小算盘
世界杯让耐克阿迪大打出手 谁能劈开用户大脑?
电信运营商员工涌入虚拟运营商,待遇差距多大?
高通拼抢国际芯片市场 联发科海外拓展难安心
推荐阅读
更多>
9月1日起免征新能源汽车购置税
Android版WhatsApp曝漏洞:聊天记录可被窃取
银河证券王锦炎:金融业如何使用大数据
HDS发布《2013中国CIO洞察白皮书》
国美痛批网购七宗罪 用短暂盈利输了未来
世界杯让耐克阿迪大打出手 谁能劈开用户大脑?
挂号网高管团体离任 或因投资人失掉决计
中电信率先推移动转售业务 中下旬批量上市
二代 iPad Air将配备2GB内存?为同屏多任务做准备
清点:罗永浩推锤子ROM 小米打法遭模拟
微信企业号必须搬走四座大山,否则只能铩羽而归!
富士康人事故骚动方寸 不惜血本下注电商
工商总局开查电商“七日退货”
安全服务机构:公布2014年度最糟糕的25个密码
同程旅游融资后变土豪 如何烧钱占领市场?
《中国三网融合业务运营管理》研讨报告征订函
传谷歌开发者大会发布Android 4.3 并非5.0版本
中国手游总裁及8名高管集体下岗,被指涉不当交易
雅安地震 绝不宽恕应用人们爱心的骗子!
IT时代周刊总编辑曹健:投资人刘志硕印象记