google search for: javascript marquee
共约有31,500项查询结果,这是第1-20项 。 搜索用时0.36秒
...
http://www.dartmouth.edu/~carlp/forms_java/marquee.html
http://javascript.internet.com/scrolls/marquee.html
http://www.msfrontpage.net/fp/jsmarquee.htm
共约有31,500项查询结果,这是第1-20项 。 搜索用时0.36秒
...
http://www.dartmouth.edu/~carlp/forms_java/marquee.html
http://javascript.internet.com/scrolls/marquee.html
http://www.msfrontpage.net/fp/jsmarquee.htm
解决方案 »
- 加载很大的图片的问题
- 简单的代码,js在aspx中提示XXX未定义,帮忙看看。
- 求助:如何用JS控制BODY的滚动条在指定区域内失效,移出区域后生效
- web应用提交时后台执行很长时间,需要给用户一个进度条
- IE 弹出一个要求输入用户名、密码的对话框,用Javascript如何实现??
- javascript如何捕捉下层的图形?
- 如何理解这段代码中的so.addVariable及各个参数的含义?
- 小问题,请大家帮忙
- 如何获得客户端的操作系统的类型(win95,win98,win2000,win xp).谢谢.
- 如何返回比一个浮点数大的最小正整数啊。
- 关于window.open的怪问题,有些机子可以开有些机子又开不了????
- 怎么使用变量作为表单元素的名称
<SCRIPT language=JAVASCRIPT>
<!--// --- Global variable stuff here var theItemCount; var theCurrentStory; var theCurrentLength; var theStorySummary; var theTargetLink; var theCharacterTimeout; var theStoryTimeout; var theBrowserVersion; var theWidgetOne; var theWidgetTwo; var theSpaceFiller; var theLeadString; var theStoryState;// --- Check for old browser and force applet theBrowserVersion = parseInt(navigator.appVersion); if (theBrowserVersion < 4) { location.href = "ticker-974.htm"; }// --- Only run for V4 browsers (check browser again here - some old browsers won't do this inline) function startTicker() { theBrowserVersion = parseInt(navigator.appVersion); if (theBrowserVersion < 4) { location.href = "/ticker/ticker_applet-974.htm"; return; }// ------ Check and fixup incoming data block if(!document.body.children.incoming.children.properties) { document.all.incoming.innerHTML = "<DIV ID=\"properties\"><DIV ID=\"itemcount\">1</DIV></DIV><DIV ID=\"stories\"><DIV ID=\"1\"><DIV ID=\"Summary\">狥此穝籇厨 ET Today.com</DIV><DIV ID=\"SiteLink\">/index.htm</DIV><DIV ID=\"UrlLink\"></DIV></DIV></DIV>"; }// ------ Set up initial values theCharacterTimeout = 50; theStoryTimeout = 5000; theWidgetOne = "_"; theWidgetTwo = "-";// ------ Set up initial values theStoryState = 1; theItemCount = document.body.children.incoming.children.properties.children.itemcount.innerText; theCurrentStory = 0; theCurrentLength = 0; theLeadString = " "; theSpaceFiller = " ";// ------ Begin the ticker runTheTicker(); }// --- The basic rotate function function runTheTicker() { if(theStoryState == 1) { setupNextStory(); } if(theCurrentLength != theStorySummary.length) { drawStory(); } else { closeOutStory(); } }// --- Index to next story function setupNextStory() { theStoryState = 0; theCurrentStory++; theCurrentStory = theCurrentStory % theItemCount; theStorySummary = document.body.children.incoming.children.stories.children[theCurrentStory].children.Summary.innerText; theTargetLink = document.body.children.incoming.children.stories.children[theCurrentStory].children.SiteLink.innerText; if(theTargetLink == "") { theTargetLink = document.body.children.incoming.children.stories.children[theCurrentStory].children.UrlLink.innerText; } theCurrentLength = 0; document.all.hottext.href = theTargetLink; }// --- Draw a teletype line function drawStory() { var myWidget; if((theCurrentLength % 2) == 1) { myWidget = theWidgetOne; } else { myWidget = theWidgetTwo; } document.all.hottext.innerHTML = theLeadString + theStorySummary.substring(0,theCurrentLength) + myWidget + theSpaceFiller; theCurrentLength++; setTimeout("runTheTicker()", theCharacterTimeout); }// --- Finalise the item function closeOutStory() { document.all.hottext.innerHTML = theLeadString + theStorySummary + theSpaceFiller; theStoryState = 1; setTimeout("runTheTicker()", theStoryTimeout); } //--></SCRIPT>
</HEAD>
<TR><TD>
<DIV id=visible><A href="/" id=hottext target="_blank"></A></DIV>
</TD></TR>
</TABLE>
<DIV id=incoming style="DISPLAY: none">
<DIV id=stories>
<DIV id=0>
<DIV id=Summary>欢迎注册使用24小时滚动新闻,由Ynet网际传播提供</DIV>
<DIV id=UrlLink>http://www.bjyouth.com/sj.jsp</DIV>
<DIV id=SiteLink></DIV>
<DIV id=Duration>10 seconds</DIV>
</DIV>
<DIV id=1>
<DIV id=Summary>
<a href="http://www.ynet.com/view.jsp?oid=1719970">复业不满一年 太平人寿保费收入突破10亿</a>(09:43:18)</DIV>
<DIV id=UrlLink>http://www.ynet.com/view.jsp?oid=1719970</DIV>
<DIV id=SiteLink></DIV>
<DIV id=Duration>10 seconds</DIV>
</DIV>
<DIV id=2>
<DIV id=Summary><a href="http://www.ynet.com/view.jsp?oid=1729639">北四环快速对接八达岭 健翔桥放行通车</a>(09:07:10)</DIV>
<DIV id=UrlLink>http://www.ynet.com/view.jsp?oid=1729639</DIV>
<DIV id=SiteLink></DIV>
<DIV id=Duration>10 seconds</DIV>
</DIV>
<DIV id=3>
<DIV id=Summary><a href="http://www.ynet.com/view.jsp?oid=1729667">外交部谈我国对伊决议投赞成票的原因</a>(09:05:08)</DIV>
<DIV id=UrlLink>http://www.ynet.com/view.jsp?oid=1729667</DIV>
<DIV id=SiteLink></DIV>
<DIV id=Duration>10 seconds</DIV>
</DIV>
<DIV id=4>
<DIV id=Summary><a href="http://www.ynet.com/view.jsp?oid=1730269">伊称其防空部队向入侵的美英战机开火</a>(09:03:40)</DIV>
<DIV id=UrlLink>http://www.ynet.com/view.jsp?oid=1730269</DIV>
<DIV id=SiteLink></DIV>
<DIV id=Duration>10 seconds</DIV>
</DIV>
<DIV id=5>
<DIV id=Summary><a href="http://www.ynet.com/view.jsp?oid=1730399">人民网:直布罗陀公决拒绝英西主权共享</a>(09:02:55)</DIV>
<DIV id=UrlLink>http://www.ynet.com/view.jsp?oid=1730399</DIV>
<DIV id=SiteLink></DIV>
<DIV id=Duration>10 seconds</DIV>
</DIV>
<DIV id=6>
<DIV id=Summary><a href="http://www.ynet.com/view.jsp?oid=1729769">台商希望两岸"三通" 批评台当局劳民伤财</a>(09:02:32)</DIV>
<DIV id=UrlLink>http://www.ynet.com/view.jsp?oid=1729769</DIV>
<DIV id=SiteLink></DIV>
<DIV id=Duration>10 seconds</DIV>
</DIV>
<DIV id=7>
<DIV id=Summary><a href="http://www.ynet.com/view.jsp?oid=1730389">北京拟建十条特色商业街 百姓消费更方便</a>(08:59:14)</DIV>
<DIV id=UrlLink>http://www.ynet.com/view.jsp?oid=1730389</DIV>
<DIV id=SiteLink></DIV>
<DIV id=Duration>10 seconds</DIV>
</DIV>
<DIV id=8>
<DIV id=Summary><a href="http://www.ynet.com/view.jsp?oid=1719890">江泽民在十六大开幕式上报告全文</a>(14:01:02)</DIV>
<DIV id=UrlLink>http://www.ynet.com/view.jsp?oid=1719890</DIV>
<DIV id=SiteLink></DIV>
<DIV id=Duration>10 seconds</DIV>
</DIV>
<DIV id=9>
<DIV id=Summary><a href="http://www.ynet.com/view.jsp?oid=1691675">北京将建世界最大的室内滑雪馆</a>(10:55:27)</DIV>
<DIV id=UrlLink>http://www.ynet.com/view.jsp?oid=1691675</DIV>
<DIV id=SiteLink></DIV>
<DIV id=Duration>10 seconds</DIV>
</DIV>
<DIV id=10>
<DIV id=Summary><a href="http://www.ynet.com/view.jsp?oid=1714840">高院公布司法解释 偷税罪最高处7年徒刑</a>(09:30:36)</DIV>
<DIV id=UrlLink>http://www.ynet.com/view.jsp?oid=1714840</DIV>
<DIV id=SiteLink></DIV>
<DIV id=Duration>10 seconds</DIV>
</DIV>
<DIV id=11>
<DIV id=Summary><a href="http://www.ynet.com/view.jsp?oid=1716622">十六大隆重开幕 江泽民向大会作报告</a>(09:24:06)</DIV>
<DIV id=UrlLink>http://www.ynet.com/view.jsp?oid=1716622</DIV>
<DIV id=SiteLink></DIV>
<DIV id=Duration>10 seconds</DIV>
</DIV>
<DIV id=12>
<DIV id=Summary><a href="http://www.ynet.com/view.jsp?oid=1718251">重庆轻轨一期工程可望2004年建成通车</a>(08:55:44)</DIV>
<DIV id=UrlLink>http://www.ynet.com/view.jsp?oid=1718251</DIV>
<DIV id=SiteLink></DIV>
<DIV id=Duration>10 seconds</DIV>
</DIV>
<DIV id=13>
<DIV id=Summary><a href="http://www.ynet.com/view.jsp?oid=1714675">中国未来五年将培育若干个大型媒体集团</a>(08:54:39)</DIV>
<DIV id=UrlLink>http://www.ynet.com/view.jsp?oid=1714675</DIV>
<DIV id=SiteLink></DIV>
<DIV id=Duration>10 seconds</DIV>
</DIV>
<DIV id=14>
<DIV id=Summary><a href="http://www.ynet.com/view.jsp?oid=1718420">中国电信获超额认购 每股发售价1.47港元</a>(08:49:09)</DIV>
<DIV id=UrlLink>http://www.ynet.com/view.jsp?oid=1718420</DIV>
<DIV id=SiteLink></DIV>
<DIV id=Duration>10 seconds</DIV>
</DIV>
<DIV id=15>
<DIV id=Summary><a href="http://www.ynet.com/view.jsp?oid=1718470">国际红十字会人员在加沙地带南部遭绑架</a>(08:35:44)</DIV>
<DIV id=UrlLink>http://www.ynet.com/view.jsp?oid=1718470</DIV>
<DIV id=SiteLink></DIV>
<DIV id=Duration>10 seconds</DIV>
</DIV>
<DIV id=16>
<DIV id=Summary><a href="http://www.ynet.com/view.jsp?oid=1718450">俄食物中毒人数已超800人 含500余儿童</a>(08:31:42)</DIV>
<DIV id=UrlLink>http://www.ynet.com/view.jsp?oid=1718450</DIV>
<DIV id=SiteLink></DIV>
<DIV id=Duration>10 seconds</DIV>
</DIV>
<DIV id=17>
<DIV id=Summary><a href="http://www.ynet.com/view.jsp?oid=1710782">北京23种药品公布最高限价 10日起执行</a>(11:46:45)</DIV>
<DIV id=UrlLink>http://www.ynet.com/view.jsp?oid=1710782</DIV>
<DIV id=SiteLink></DIV>
<DIV id=Duration>10 seconds</DIV>
</DIV>
<DIV id=18>
<DIV id=Summary><a href="http://www.ynet.com/view.jsp?oid=1710651">岁至年终 中国足协迎来会议高峰期</a>(11:46:03)</DIV>
<DIV id=UrlLink>http://www.ynet.com/view.jsp?oid=1710651</DIV>
<DIV id=SiteLink></DIV>
<DIV id=Duration>10 seconds</DIV>
</DIV>
<DIV id=19>
<DIV id=Summary><a href="http://www.ynet.com/view.jsp?oid=1710576">中国《反低价倾销工业品规定》有望年底出台</a>(11:45:08)</DIV>
<DIV id=UrlLink>http://www.ynet.com/view.jsp?oid=1710576</DIV>
<DIV id=SiteLink></DIV>
<DIV id=Duration>10 seconds</DIV>
</DIV>
<DIV id=20>
<DIV id=Summary><a href="http://www.ynet.com/view.jsp?oid=1710497">北京:大学生入伍享受六项优待政策</a>(11:44:20)</DIV>
<DIV id=UrlLink>http://www.ynet.com/view.jsp?oid=1710497</DIV>
<DIV id=SiteLink></DIV>
<DIV id=Duration>10 seconds</DIV>
</DIV></DIV>
<DIV id=properties>
<DIV id=itemcount>21</DIV>
</DIV>
</DIV>
</BODY></HTML>
<!-- # ticker end -->
thanks