爱易网
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 浏览次数:20119 次
以下是程序代码
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="keywords" content="站长,网页特效,js特效,广告代码,zzjs,zzjs.net,sky,www.zzjs.net,站长特效 网" /> <meta name="description" content="www.zzjs.net,站长特效网,站长必备js特效及广告代码。大量高质量js特效,提供高质量广告代码下载,尽在站长特效网" /> <title>鼠标经过链接文字滚动,sky整理收集,站长特效网欢迎您。zzjs .net</title> <style type="text/css"> #divControl {position:absolute; left:120px; top:190px; width:250px; font-size:10pt; font-family:arial,helvetica,sans-serif; visibility:hidden;} #divCont {position:absolute; left:120px;top:250px; width:250px; height:150px; clip:rect(0px 250px 150px 0px);} .clScroll {position:absolute; font-size:10pt; font-family:arial,helvetica,sans-serif; visibility:hidden;} </style> </head> <body> <a href="<#ZC_BLOG_HOST#>">站长特效网</a>,站长必备的高质量网页特效和广告代码。zzjs.net,站长js特效。<hr> <!--欢迎来到站长特效网,我们网站收集大量高质量js特效,提供许多广告代码下载,网址:www.zzjs.net,zzjs@msn.com,用.net打造靓站--> <script language="JavaScript" type="text/javascript"> function lib_bwcheck(){ //Browsercheck (needed) this.ver=navigator.appVersion this.agent=navigator.userAgent this.dom=document.getElementById?1:0 this.opera5=this.agent.indexOf("Opera 5")>-1 this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0; this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0; this.ie4=(document.all && !this.dom && !this.opera5)?1:0; this.ie=this.ie4||this.ie5||this.ie6 this.mac=this.agent.indexOf("Mac")>-1 this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; this.ns4=(document.layers && !this.dom)?1:0; this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5) return this } var bw=new lib_bwcheck() /********************************************************************************* These are the variables you have to set: *********************************************************************************/ //The speed of the timeout between each scroll. timSpeed = 50 //The height of the container (change this when it scrolls to much or to little) contHeight = 100 /********************************************************************************* This is the object constructor function, which applies methods and properties to the Cross-browser layer object *********************************************************************************/ function makeScrollObj(obj,nest){ nest=(!nest) ? "":'document.'+nest+'.' this.el=bw.dom?document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?eval(nest+'document.'+obj):0; this.css=bw.dom?document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+'document.'+obj):0; this.height=bw.ns4?this.css.document.height:this.el.offsetHeight this.top=b_gettop return this } // A unit of measure that will be added when setting the position of a layer. var px = bw.ns4||window.opera?"":"px"; //Getting the top for the top method function b_gettop(){ var gleft=(bw.ns4 || bw.ns6)?parseInt(this.css.top):eval(this.css.pixelTop); return gleft; }//欢迎来到站长特效网,我们的网址是www.zzjs.net,很好记,zz站长,js就是js特效,本站收集大量高质量js代码,还有许多广告代码下载。 //Variables var scrollTim = 1; var active = 0; /********************************************************************************* The scroll function. Checks what way to scroll and checks if the layer is not already on top or bottom. *********************************************************************************/ function scroll(speed){ clearTimeout(scrollTim) way = speed>0?1:0 if ((!way && oScroll[active].top()>-oScroll[active].height+contHeight) || (oScroll[active].top()<0 && way)){ oScroll[active].css.top = (oScroll[active].top()+speed)+px scrollTim = setTimeout("
上一篇:狡猾的按钮特效
下一篇:文字向上漂浮滚动效果
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
惠普董事长莱恩辞职 为巨额财务减记埋单
打车软件火了 恶性循环来了
微信企业号必须搬走四座大山,否则只能铩羽而归!
“论文查重”网店一月收入竟过百万
NoomWeight减肥
联想架构调整后:Think品牌或推智能手机
神奇约炮应用被禁 改名后重返苹果应用商店
微软的云服务显示出他们将自我进化
为啥苹果定要出廉价iPhone?都是安卓逼的
推荐阅读
更多>
诺基亚因充电器问题暂停销售Lumia 2520平板电脑
盛大游戏走向衰落的根源:免费游戏模式惹的祸
揭秘:阿里巴巴“无人认领”的三成股权都归谁
微软史上最大规模裁员,一半诺基亚员工
诺基亚称不会更名“微软移动” 5月还将发布新品
IT时代周刊总编辑曹健:投资人刘志硕印象记
广东移动董事长徐龙受调查 圈内对其褒贬不一
流浪汉高考状元终于找到工作:月薪3000做程序员很满意
蓝宝石PK大猩猩玻璃:作为屏幕谁更有优势?
网络视频的几大趋势将成视频玩家躲不开的发力点
Docker Desktop 4.11 发布:支持虚拟桌面、Mac 权限更改和新扩展
中国移动承诺再降4G资费 网络漫游至50个国家
湘鄂情剥离餐饮业务进军大数据的底气在哪里?
唯品会股价飙升 引天猫当当京东进军闪购
HTC的三大迷惘:高管釜底抽薪 产品营销战略混乱
为啥苹果定要出廉价iPhone?都是安卓逼的
可靠消息称微型针孔偷拍设备拟全面禁止
OPPO Find7体验测 Find7综测
全球最具“颠覆性”特质的公司排行榜TOP25
支付宝服务窗后台首曝光 开放用户消费数据