爱易网
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 浏览次数:20125 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
脚本说明: 把如下代码加入<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>
上一篇:狡猾的按钮特效
下一篇:多输入框字母限制
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
杨元庆去年总薪酬1.33亿元
FDD牌照12月将发放 联通电信双4G反击中移动
中移动落马高管盘点:广东移动成反腐重地
全球五大电信设备商业绩:华为净利居首
京东很忙:升服务推产品更新招股书 能赶在阿里前上市?
中电信率先推移动转售业务 中下旬批量上市
众贷网满月开张 网络金融监管再受质疑
快递企业征收“份子钱” 成全了谁 苦了谁?
谷歌安卓全球副总裁为何跳槽中国企业小米?
推荐阅读
更多>
微软大幅调整Bing在华策略:从高大上到接地气
百度吴恩达:图像和音视频搜索是人工智能新方向
苹果大中华区业绩回暖 中移动贡献或低于预期
北京今日实现用支付宝钱包为公交卡充值
想玩P2P?几个您必须知道的潜规则
马云:银行若放开存款利率 余额宝死了也光荣
360涉足搜索范围 百度市场份额面临应战
众贷网满月开张 网络金融监管再受质疑
中国手游总裁及8名高管集体下岗,被指涉不当交易
中电信国际漫游费下调85% 世界杯上网28元/天
华为任正非:家族成员不会成为接班人
Facebook以“人”为本的名义占领安卓
特斯拉技术专利开放,要革自己的命?
Docker Desktop 4.11 发布:支持虚拟桌面、Mac 权限更改和新扩展
“世界杯+618”集体磨刀的本质是绑架全民
充斥着假消息负能量的“秘密”缺乏普适性
支付宝27日晚间曝严重破绽:买卖记载可被搜索
中移动五大基地将整改成公司:被指易滋生腐败
组建铁塔公司倒逼运营商改革 或加速4G网建设
【晚报】女子泰国游晒10照片 流量费2000