爱易网
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 浏览次数:20126 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
脚本说明: 把如下代码加入<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>
上一篇:狡猾的按钮特效
下一篇:多输入框字母限制
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
快播灭了,还有西瓜:视频网站的灰色江湖还在
苹果售后生态链乱象:供需失衡价钱不一
Google要求硬件厂商捆绑预装应用的协议曝光
评论:阿里为什么不试着收购一家香港媒体呢
扎克伯格华裔妻子首度亮相电视节目畅谈情史
解析2014年阿里百度等五大互联网巨头深度布局
看病也能用支付宝了 马云的又一盘大棋
原万网CTO周雷加盟亿玛 出任CTO一职
神奇约炮应用被禁 改名后重返苹果应用商店
推荐阅读
更多>
乐视28日发布手机进展 LeUI系统Mobile版或曝光
美国政府关门可能影响去哪儿等公司IPO
三星维修新规:Galaxy S4主板进水也收费修
唯品会荣登“最贵中概股”的欢喜与哀愁
微软大幅调整Bing在华策略:从高大上到接地气
流浪汉高考状元终于找到工作:月薪3000做程序员很满意
聚美向左,唯品向右,怎能耐得住高跟和红唇的诱惑!
从雷军的“互联网七字诀”告诉你一个非妖魔化的小米
小灵通两年都无信号 顾客起诉联通公司
优酷土豆兼并一年:依然处于烧钱形状
阿里收购UC 五年姻缘换来移动新格局
PC迎9年来出货量新低 平板电脑渐成主流
Android应用审核乱象:诈骗软件冲上排行榜首
网络旅行游记被曝插入"软广告" 个别人士月入数万
工商下月将整治手机市场
诺基亚仍是第二大手机商:功用机有利可图
iOS7拖累iPad 5、iPad mini2发布 传十月份推出
Skype周年:与微软联姻到底有没有未来?
二代 iPad Air将配备2GB内存?为同屏多任务做准备
虚拟运营市场躁动:山西煤老板兴味浓重