爱易网
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 浏览次数:20188 次
以下是程序代码
<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> </head> <body> <a href="<#ZC_BLOG_HOST#>">站长特效网</a>,站长必备的高质量网页特效和广告代码。zzjs.net,站长js特效。<hr> <!--欢迎来到站长特效网,我们网站收集大量高质量js特效,提供许多广告代码下载,网址:www.zzjs.net,zzjs@msn.com,用.net打造靓站--> <script type="text/javascript"> //<![CDATA[ <!-- function scrollerObj(name,initH,initW,heightB,widthB,content,initBg,Bg,speed,initFl){ //**data**// this.name=name; this.initH=initH; this.initW=initW; this.heightB=heightB; this.widthB=widthB; this.content=content; this.initBg=initBg; this.Bg=Bg; this.iniFl=initFl; this.speed=parseInt(speed); this.timer = name + "Timer"; this.elem; //**methods**// this.getElement = getElement; this.createLayer=createLayer; this.scrollLayer = scrollLayer; this.scrollLoop=scrollLoop; //**initiate methods**// this.createLayer(); this.getElement(); this.scrollLayer(); } //**call this method to stop scrolling**// function scrollLoop(s){ this.speed = s; }//欢迎来到站长特效网,我们的网址是www.zzjs.net,很好记,zz站长,js就是js特效,本站收集大量高质量js代码,还有许多广告代码下载。 //**pretty obvious**// function scrollLayer(){ if(parseInt(this.elem.style.top)>(this.elem.offsetHeight*(-1))){ this.elem.style.top = parseInt(this.elem.style.top)-this.speed; //alert(parseInt(this.elem.style.top)+"\n"+this.elem.id); } else {this.elem.style.top = this.initH;} } //**get the specific dom-expression**// function getElement(){ if(document.getElementById){ this.elem = document.getElementById(this.name); } else if (document.all){ this.elem = document.all[name]; } else if (document.layers){ this.elem = document.layers[name]; } } //**pretty obvious - if NS4 - please upgrade to a standard compliant browser**// function createLayer(){ if(document.getElementById || document.all){ document.write('<div id="layer'+this.name+'" style="position:relative;overflow:hidden;float:'+this.initFl+';background-color:#'+this.initBg+';border:1px solid black;width:'+this.initW+'px;height:'+this.initH+'px;" onMouseover="'+this.name+'.scrollLoop(0)" onMouseout="'+this.name+'.scrollLoop('+this.speed+')">'); document.write('<div id="'+this.name+'" style="position:absolute;top:'+this.initH+'px;left:0px;border:0px solid black;width:'+this.widthB+'px;height:'+this.heightB+'px;background-color:#'+this.Bg+'">'); document.write(this.content); document.write('<\/div><\/div>');} else if(document.layers){ document.write('<ilayer name="'+this.name+'" bgcolor="#'+this.Bg+'" width="'+this.widthB+'" height="'+this.heightB+'">'+this.content+'<\/ilayer>'); return; } if(this.scrollLayer){ this.timer = setInterval(this.name+'.scrollLayer()','30'); } }//欢迎来到站长特效网,我们的网址是www.zzjs.net,很好记,zz站长,js就是js特效,本站收集大量高质量js代码,还有许多广告代码下载。 //--> //]]> </script> <style media="screen" type="text/css"> /*<![CDATA[*/ <!-- P{color:#465d5c;margin:3px;} A{color:#e86500} H1{color:#465d5c;font-size:11px;font-weight:normal;font-weight:bold;font-size:11px;font-family:Arial,Helvetica,Geneva,Swiss,SunSans-Regular;margin:3px; padding:0px} H2{color:#465d5c;font-size:11px;font-weight:bold;font-size:11px;font-family:Arial,Helvetica,G
上一篇:狡猾的按钮特效
下一篇:文字由小变大弹出效果
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
余额宝收益率跌破5% 银行系宝宝收益率赶超
中国邮政与阿里合作:邮政网点可做网购自提点
中移动五大基地将整改成公司:被指易滋生腐败
淘宝公布新规:升级售假卖家惩罚力度
诺基亚依托规模效应 猛攻国际市场空白
美国电影协会在华起诉迅雷侵权 要求赔偿并道歉
微软很“捉急”:补贴Win8 重加末尾按钮
北京今日实现用支付宝钱包为公交卡充值
网络音乐非片面收费 高晓松时间表难完成
推荐阅读
更多>
新一代iPhone11月底国内上市 支持TD制式
PC迎9年来出货量新低 平板电脑渐成主流
郭美美事件推手被抓 “秦火火”拷问网络底线
华为、小米和联想在中国手机市场上演“三国杀”
牟贵先挂帅 国美在线“价钱战”昔日开打
苹果音乐效劳新战略:与唱片商停止流媒体协作
“组合拳”怎么打 拆解小米新玩法
快递企业征收“份子钱” 成全了谁 苦了谁?
国内首个大数据系列指数今日发布
阿里马云:我觉得互联网还有十年可以做
HDS发布《2013中国CIO洞察白皮书》
墨迹也要做硬件,工具类应用如何“变异”的
雷军会做赔钱生意?迅雷跌破发行价 市值仅7亿美元
微软提示XP只剩365天寿命:用户被绑架?
中国手游总裁及8名高管集体下岗,被指涉不当交易
“世界杯+618”集体磨刀的本质是绑架全民
互联网情色众多 Facebook与9158态度大不同
央行暂停二维码支付及虚拟信用卡 支付宝微信不知情
电信运营商员工涌入虚拟运营商,待遇差距多大?
Facebook思科联手推免费WiFi 欲覆盖全美