爱易网
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 浏览次数:20130 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
脚本说明: 把如下代码加入<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>
上一篇:狡猾的按钮特效
下一篇:多输入框字母限制
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
MIUI,有了它小米就无惧对手
HTC手机为何一败再败?效果出在供应链
新浪微博推粉丝头条功能 意欲与大号分成
TD是完成中国梦的一个契机
银联布局二维码支付,“擦边球”生态不能自救
2019双12阿里云老用户怎么参加拼团活动 老用户拼团方法
创维冲击500亿梦想:转型硬件和内容供应商
天音通信170套餐试商用放号:流量两年不清零
猎豹移动上市押海外市场 与小米有合作空间
推荐阅读
更多>
中电信国际漫游费下调85% 世界杯上网28元/天
锐迪科将以9.25美元/ADS价钱出售835万份ADS
“组合拳”怎么打 拆解小米新玩法
京东物流"最后一公里":颠覆阿里或者被阿里干掉
首批四款“官方”打车软件发布:均为安卓版本
京东终于想明白,这些年错过的财运,都藏在女人的时装下
马云:银行若放开存款利率 余额宝死了也光荣
微软张亚勤趋势判断:未来三十年属于物理化互联网
湘鄂情剥离餐饮业务进军大数据的底气在哪里?
解读苹果收购Beats背后动机:库克在想什么?
中方抗议美方限购IT设备 紧张关系加剧
中移动业绩增长趋缓 目光转向海外市场
阿里物流搭上邮政:京东,我们在终点等你!
O2O成"唐僧肉":百度糯米抢食第一口令阿里腾讯颤抖
火一把就死: 百度魔图验证社交游戏衰亡宿命
特斯拉将获上海免费牌照 充电桩面临双重标准
迅雷向美SEC提交IPO招股书:拟最多筹资1亿美元
频繁自杀 折射媒体变革中的媒体人迷茫与压力并存
欧盟控诉苹果在爱尔兰非法进行税收交易
HTC曝出特大丑闻:高管诈骗+商业间谍