首页   关于我们   网站开发   wap网站开发  网站优化  网站案例   网站地图   联系我们   

网站首页 >> 一个弹簧卷轴的页面特效,出现的文字象弹簧一样向上卷,极酷


一个弹簧卷轴的页面特效,出现的文字象弹簧一样向上卷,极酷

发布于:2007-10-28 已被阅读: 次 来源:上海奉贤网站建设

<HTML><HEAD><META http-equiv='Content-Type' content='text/html; charset=gb2312'><TITLE>一个弹簧卷轴的页面特效,出现的文字象弹簧一样向上卷,极酷</TITLE></HEAD><BODY bgcolor="#fef4d9" onload=initiate()>><SCRIPT language=JavaScript1.2>var message= new Array()message[0]="个人主页的时代已经远去...... 新的世纪崛起的是团队精神与协同合作,网上家园--你我的家园,诚邀你的加盟共创美好家园!"message[1]="网页作坊--网页制作流水线!技术中心:这里有大量的JAVASCRIPT与DHTML动态脚本特效!还有CSS的基础教程,即将开始XML基础教程!"var scrollerwidth=300var scrollertop=10var scrollerleft=10var targetlink="_blank"var font_face="宋体"var font_color="006600"var font_size=15var standstill=3000var lineheightmax=12var lineheight=lineheightmaxvar linestep=0.2var i_message=0var mes_joinedvar mes_splitvar contenttextvar pause=20function initiate() {if (document.all) {document.all.scrollertext.style.posTop=scrollertopdocument.all.scrollertext.style.posLeft=scrollerleftdocument.all.scrollertext.style.width=scrollerwidthlineup()}if (document.layers) {alert("This script works with Internet Explorer 4x or higher. Sorry Netscape-Folks!")}}function lineup(){mes_joined=message[i_message]mes_split=mes_joined.split("|")contenttext="<span style='position:relative;font-family:"+font_face+"; color:"+font_color+";font-size:"+font_size+"pt;line-height:"+lineheight+";width:"+scrollerwidth+"px'>"contenttext+=mes_split[0]contenttext+="</span>"if (lineheight>1.2) {scrollertext.innerHTML=contenttextvar timer=setTimeout("lineup()",pause)lineheight-=linestep}else {mes_joined=message[i_message]mes_split=mes_joined.split("|")contenttext="<span style='position:relative;font-family:"+font_face+"; color:"+font_color+";font-size:"+font_size+"pt;line-height:"+lineheight+";width:"+scrollerwidth+"px'>"contenttext+=mes_split[0]contenttext+="<br><a href='"+mes_split[1]+"' target='"+targetlink+"'>更多更多 ...</a>"contenttext+="</span>"scrollertext.innerHTML=contenttextclearTimeout(timer)var timer=setTimeout("squeeze()",standstill)}}function squeeze(){mes_joined=message[i_message]mes_split=mes_joined.split("|")contenttext="<span style='position:relative;font-family:"+font_face+"; color:"+font_color+";font-size:"+font_size+"pt;line-height:"+lineheight+";width:"+scrollerwidth+"px'>"contenttext+=mes_split[0]contenttext+="</span>"if (lineheight>0) {scrollertext.innerHTML=contenttextvar timer=setTimeout("squeeze()",pause)lineheight-=linestep/2}else {clearTimeout(timer)scrollertext.innerHTML=""changemessage()}}function changemessage() {i_message++if (i_message>message.length-1) {i_message=0}lineheight=lineheightmaxvar timer=setTimeout("lineup()",1000)}</SCRIPT><DIV id=scrollertext style="POSITION: absolute"></DIV></BODY></HTML> <!-- 要实现此效果需要 2 个步骤: --><!-- 第 1 步: --><!-- 把<BODY>中的属性代码改为: --><BODY bgcolor="#fef4d9" onload=initiate()>><!-- 第 2 步: --><!-- 把下面的代码加到<BODY></BODY>区域中: --><SCRIPT language=JavaScript1.2>var message= new Array()message[0]="个人主页的时代已经远去...... 新的世纪崛起的是团队精神与协同合作,网上家园--你我的家园,诚邀你的加盟共创美好家园!"message[1]="网页作坊--网页制作流水线!技术中心:这里有大量的JAVASCRIPT与DHTML动态脚本特效!还有CSS的基础教程,即将开始XML基础教程!"var scrollerwidth=300var scrollertop=10var scrollerleft=10var targetlink="_blank"var font_face="宋体"var font_color="006600"var font_size=15var standstill=3000var lineheightmax=12var lineheight=lineheightmaxvar linestep=0.2var i_message=0var mes_joinedvar mes_splitvar contenttextvar pause=20function initiate() {if (document.all) {document.all.scrollertext.style.posTop=scrollertopdocument.all.scrollertext.style.posLeft=scrollerleftdocument.all.scrollertext.style.width=scrollerwidthlineup()}if (document.layers) {alert("This script works with Internet Explorer 4x or higher. Sorry Netscape-Folks!")}}function lineup(){mes_joined=message[i_message]mes_split=mes_joined.split("|")contenttext="<span style='position:relative;font-family:"+font_face+"; color:"+font_color+";font-size:"+font_size+"pt;line-height:"+lineheight+";width:"+scrollerwidth+"px'>"contenttext+=mes_split[0]contenttext+="</span>"if (lineheight>1.2) {scrollertext.innerHTML=contenttextvar timer=setTimeout("lineup()",pause)lineheight-=linestep}else {mes_joined=message[i_message]mes_split=mes_joined.split("|")contenttext="<span style='position:relative;font-family:"+font_face+"; color:"+font_color+";font-size:"+font_size+"pt;line-height:"+lineheight+";width:"+scrollerwidth+"px'>"contenttext+=mes_split[0]contenttext+="<br><a href='"+mes_split[1]+"' target='"+targetlink+"'>更多更多 ...</a>"contenttext+="</span>"scrollertext.innerHTML=contenttextclearTimeout(timer)var timer=setTimeout("squeeze()",standstill)}}function squeeze(){mes_joined=message[i_message]mes_split=mes_joined.split("|")contenttext="<span style='position:relative;font-family:"+font_face+"; color:"+font_color+";font-size:"+font_size+"pt;line-height:"+lineheight+";width:"+scrollerwidth+"px'>"contenttext+=mes_split[0]contenttext+="</span>"if (lineheight>0) {scrollertext.innerHTML=contenttextvar timer=setTimeout("squeeze()",pause)lineheight-=linestep/2}else {clearTimeout(timer)scrollertext.innerHTML=""changemessage()}}function changemessage() {i_message++if (i_message>message.length-1) {i_message=0}lineheight=lineheightmaxvar timer=setTimeout("lineup()",1000)}</SCRIPT><DIV id=scrollertext style="POSITION: absolute"></DIV>

网站建设相关信息

上海奉贤网站建设主要有哪些网络个人制作网站,奉贤企业网站制作应该如何选择建设网站的上海奉贤网络个人..

为什么要建设网站

企业为何需要做网站,企业做网站的目的是为什么,有的企业网站做了但一点效果也没有,那是因为企业没有让网站发挥作用..

联系方式

手机:13482597886

Q Q:41218056

Q Q: 41218056点击这里给我发消息

qq41218056@hotmail.com

网站建设

英文网站建设与中文网站
日文网站建设-日文网站设计
走好电子商务网站的建设
八大要领 做网站就这么简单
电子商务十忌与建设网站
优秀网站制作的五大要素
网站功能设计的适用性评价
高级技巧:个性化网站设计
行业网站的设计心得
从网页到网络平台 网站开
网站文化与网页设计
一个成功的网站设计
网站建设项目合同撰写注意
企业如何准备网站建设资料
网站建设需要策划吗?
网络营销市场回顾与展望
企业网站建设有哪些不足

网站优化

网站推广时几点禁忌 上海
网站设计应注意的25条
网站策划方案写作、演示
网站推广技巧--实战中文
网站开发策划所需要的文档
企业网站推广效果分析
如何做好网站开发项目的
企业网站的推广漫谈 上海
最佳适合于网站海外推广
网站策划,需要什么的人才
网站策划与建设阶段网站推
网络营销中网站个性化设计