>
设为首页
>
收藏本站
>
最新电影
首页
运营资讯
今日英语
图形图像
计算机技术
Asp编程
网站结构化
资源共享
休闲娱乐
访问新站
您现在的位置:
首页
=>
后台技术
=>
脚本特效
=>
文本特效
订阅本栏目
打字机特效
时间: 2007-11-30 16:35:36 阅读次数:1692
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>网页特效|www.ffasp.com 飞飞Asp乐园|---打字机特效</title> </head> <body> <script language="JavaScript1.2"> <!-- /* Typing Scroller Submitted by bengaliboy00@hotmail.com (hp: http://www.angelfire.com/nt/bengaliboy/) With modifications by Dynamicdrive.com For full source code, usage terms, and 100s more scripts, visit http://dynamicdrive.com */ //设置滚动的内容 var line=new Array() line[1]="欢迎光临网页特效" line[2]="http://www.ffasp.com 飞飞Asp乐园" line[3]="提出宝贵意见" line[4]="希望你喜欢这种模式" line[5]="再次感谢你的光临" //设置字体大小 var ts_fontsize="16px" //--Don't edit below this line var longestmessage=1 for (i=2;i<line.length;i++){ if (line[i].length>line[longestmessage].length) longestmessage=i } //Auto set scroller width var tscroller_width=line[longestmessage].length lines=line.length-1 //--Number of lines //if IE 4+ or NS6 if (document.all||document.getElementById){ document.write('<form name="bannerform">'); document.write('<input type="text" name="banner" size="'+tscroller_width+'"'); document.write(' style="background-color: '+document.bgColor+'; color: '+document.body.text+'; font-family: verdana; font-size: '+ts_fontsize+'; font-weight:bold; border: medium none" onfocus="blur()">'); document.write('</form>'); } temp="" nextchar=-1; nextline=1; cursor="\\" function animate(){ if (temp==line[nextline] & temp.length==line[nextline].length & nextline!=lines){ nextline++; nextchar=-1; document.bannerform.banner.value=temp; temp=""; setTimeout("nextstep()",3000)} else if (nextline==lines & temp==line[nextline] & temp.length==line[nextline].length){ nextline=1; nextchar=-1; document.bannerform.banner.value=temp; temp=""; setTimeout("nextstep()",3000)} else{ nextstep()}} function nextstep(){ if (cursor=="\\"){ cursor="|"} else if (cursor=="|"){ cursor="/"} else if (cursor=="/"){ cursor="-"} else if (cursor=="-"){ cursor="\\"} nextchar++; temp+=line[nextline].charAt(nextchar); document.bannerform.banner.value=temp+cursor setTimeout("animate()",100)} //if IE 4+ or NS6 if (document.all||document.getElementById) window.onload=animate // --> </script> </body> </html>
提示:您可以先修改部分代码再运行
飞~飞Asp技术乐园
站内搜索
:
标题
内容
下一篇
文字挨个闪光灯特效
上一篇
字幕滚动效果
本栏目最新
栏目最新列表
用层模拟可移动的小窗口
图片间停式无缝滚动
繁简体文字转换工具
点击会高亮的文字
中文文字的多种排列方式,倒排,倒写竖排,
网站优化策划
栏目最新列表
增加网站外链的快速方法
网站上线前必做的30个检查
新的友情链接参考标准(没有google的PR情况
优化Google的AdSense广告的五个工具
王通讲SEO八大基础
站点最新
站点最新列表
微博推广的一些技巧
xhEditor v1.1.7 发布,
收集的一些轻量级非常实
50个新鲜兼容最新版本的
javascript中cookie的设
Excel中出现#VALUE!、#D
jquery插件:飞飞表情插件
十个使用HTML5开发的精彩
支持HTML5的浏览器有哪些
飞妮莫属:漫画:如何写出
历史最热10条信息
MIME介绍 及
[
1
] [
2
] [
3
]
巧用Google和迅雷来下载
Transact SQL 常
[
1
] [
2
]
VIA Rhine II Fast Ethe
电脑常用端
[
1
] [
2
] [
3
]
Do you get a kick out
十道羊皮卷 欣赏+mp3版+
每日一句:A friend and
每日一句:Theres no tu
经典__悟透JavaScript
伟哥博客
西安房产
123最新电影
三四六四
关于站点
|
免责声明
|
联系站长
|
网站地图
|
陕ICP备07002804号
WEB技术QQ交流群:72840059
©2007 ffasp.com. 版权所有