首页| 新闻| 娱乐| 游戏| 科普| 文学| 编程| 系统| 数据库| 建站| 学院| 产品| 网管| 维修| 办公| 热点
<!--脚本说明:第一步:把如下代码加入<head>区域中--><script language="javaScript"><!-- Activate Cloaking Devicevar i = 0; // used to cycle thru messages var TextNumber = -1;// array of messages var TextInput = new Object();// used to load manipulate message var HelpText=""; // used to load messagevar Text = ""; // length of timeout (smaller is faster) var Speed=50;// used to display message numbervar message=0;// used to position text in ver 2.0var addPadding="/r/n";// Each element of TextInput rePResents a single message.TextInput[0] = "欢迎您出次访问网页教学网"; TextInput[1] = "本站是一个专业网页教学站点,资源丰富";TextInput[2] = "重点介绍网页制作/网页特效/网络编程/动画制作";TextInput[3] = "与制作网页制作密切相关的技术";TextInput[4] = "本站同时有教程下载等栏目";TextInput[5] = "还有新闻及服务方面的资料";TextInput[6] = "本站提供服务包括为您建站/出售程序/英汉翻译";TextInput[7] = "本站网址:http://www.vevb.com";TotalTextInput = 7; // (0, 1, 2, 3, 4, 5, 6, 7)// Positioning and speed vary between versions.var Version = navigator.appVersion; if (Version.substring(0, 1)==3){Speed=200;addPadding="";}for (var addPause = 0; addPause <= TotalTextInput; addPause++) {TextInput[addPause]=addPadding+TextInput[addPause];}var TimerIdvar TimerSet=false;// Called by >>> button (display next message) .function nextMessage() {if (!TimerSet){TimerSet=true;clearTimeout (TimerId);if (TextNumber>=TotalTextInput){ alert("This is the end of the list!");TimerSet=false;}else{TextNumber+=1;message=TextNumber+1;document.forms[0].elements[2].value= message;Text = TextInput[TextNumber];HelpText = Text;}teletype();}}// Gets and displays character from rollMessage() . // Variable Speed controls length of timeout and thus the speed of typing.function teletype() {if (TimerSet){Text=rollMessage();TimerId = setTimeout("teletype()", Speed);document.forms[0].elements[0].value=Text;}}// Pulls one character at a time from string and returns (as Text) to function teletype() for displaying.function rollMessage () {i++;var CheckSpace = HelpText.substring(i-1, i);CheckSpace = "" + CheckSpace;if (CheckSpace == " ") {i++;}if (i >= HelpText.length+1) {TimerSet=false;Text = HelpText.substring(0, i);i=0; return (Text);}Text = HelpText.substring(0, i);return (Text);}// Initially called by onLoad in BODY tag to load title. function initTeleType() {Text="/r/n Manual Tele-Type Display";document.forms[0].elements[0].value=Text;}// Called by <<< button (get previous message).function lastMessage() {if (!TimerSet && TextNumber!=-1){TimerSet=true;clearTimeout (TimerId);if (TextNumber<=0){ alert("This is the beginning of the list!");TimerSet=false;}else {TextNumber-=1;message=TextNumber+1;document.forms[0].elements[2].value= message;Text = TextInput[TextNumber];HelpText = Text;} teletype(); }}// Deactivate Cloaking --></script><!--第二步:在<body>区域中加入如下代码:--><form><table CELLSPACING="0" CELLPADDING="0" WIDTH="17%"><tr><td width="100%" colspan="3" valign="top"><div align="center"><p><textarea NAME="teletype" ROWS="3" COLS="28" wrap="yes"></textarea> </td></tr><tr align="center"><td width="40%" valign="top" bgcolor="#0000A0"><input TYPE="button" VALUE="公告栏" onClick="lastMessage()"></td><td width="30%" bgcolor="#0000A0" valign="top"><input TYPE="text" value="共8条" SIZE="5" name="1"></td><td width="30%" bgcolor="#0000A0" valign="top"><input TYPE="button" VALUE="阅 读" onClick="nextMessage()"></td></tr></table></form>
Intel工程样品CPU的识别方法
图解CMOS路线和硬盘光驱跳线的
硬盘分区如何设置准确的分区空间
回眸一笑百魅生,六宫粉黛无颜色
岁月静美,剪一影烟雨江南
芜湖有个“松鼠小镇”
小满:小得盈满,一切刚刚好!
一串串晶莹剔透的葡萄,像一颗颗宝石挂在藤
正宗老北京脆皮烤鸭
人逢知己千杯少,喝酒搞笑图集
搞笑试卷,学生恶搞答题
新闻热点
疑难解答
图片精选
微信小程序各种坑?填坑tip
web前端如何让网页布局稳定性和标
CSS定位深入理解 完全掌握CSS定位
彻底理解浮动float CSS浮动详解 清
网友关注