网站首页
您的位置:
博熙设计
>>
网页特效
>>
综合特效
>> 浏览主题
查看特效
文本自动滚屏
[日期:2006-2-4 17:45:31]
[浏览指数:1762]
脚本说明: 第一步:把如下代码加入<head>区域中 <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function selectScroller(n) { optlist = document.scrollform.scroller; optlist[optlist.length] = new Option(optlist[0].text, "", false, false); optlist[0] = null; optlist.selectedIndex = -1; n = (n + 1) % optlist.length; // change the speed below: 1000 = 1 second. setTimeout("selectScroller("+n+")",2000); } // End --> </script> 第二步:把如下代码加入<body>区域中 <form name="scrollform"> <select name="scroller" size=8> <option>This select option list will <option>scroll text by copying <option>the top line to the bottom <option>line before deleting the <option>top line. This moves the <option>options up one line and <option>gives the impression of <option>scrolling. <option> <option>You can leave as many <option>blank lines as you feel <option>necessary to give the <option>look of begining and <option>ending. <option> <option>This script was written <option>in response to those <option>who wanted a news <option>scroller to work within <option>a table's cell and for <option>those who want old <option>browsers to also see <option>a scoller on the page. <option> <option>This select option list will <option>scroll text by copying <option>the top line to the bottom <option>line before deleting the <option>top line. This moves the <option>options up one line and <option>gives the impression of <option>scrolling. <option> <option>You can leave as many <option>blank lines as you feel <option>necessary to give the <option>look of begining and <option>ending. <option> <option>This script was written <option>in response to those <option>who wanted a news <option>scroller to work within <option>a table's cell and for <option>those who want old <option>browsers to also see <option>a scoller on the page. <option> <option>yobo42@hotmail.com </select> </form> 第三步:把<body>改为 <BODY OnLoad="selectScroller(0);">
特别说明:
如文本框里含有upjs/***.js内容的,请用查看按钮查看演示!
·上个特效:
在鼠标后面跟着一串飘动的字符
·下个特效:
鼠标放到链接上就会出现一个说明框,里面有滚动的文字说明
【特效评论已关闭】
当前风格:蓝色理想
关于本站
|
联系我们
|
广告合作
|
网站地图
|
友情连接
|
后台管理
| |
业务合作
备案序号: 陇ICP备05000683号
感谢
中网数据
提供
网站空间
[世界排名]
博熙设计
Powered by:
Hxcms Ver6.6
页面执行时间:15.63MS