Javascript新闻滚动条 [英] Javascript News Scroller

查看:74
本文介绍了Javascript新闻滚动条的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个javascipt垂直新闻滚动条,它将从页面底部滚动到
到顶部显示许多新项目。


真的很感激一些帮助。我在

时刻使用的滚动条一次只能显示一个新闻项,有人可以建议代码我可以插入以显示许多新闻吗?


火星

I''m looking for a javascipt vertical news scroller that will scroll
from the bottom of the page to the top showing many new items.

Would really appreciate some help. The scroller I''m using at the
moment only shows one news item at a time, can anyone suggest code I
could insert to show many news items?

Mars

推荐答案

Mars在17 mei 2007上写了comp.lang.javascript
Mars wrote on 17 mei 2007 in comp.lang.javascript:

我正在寻找一个javascipt垂直新闻滚动条,它将从页面底部滚动

到顶部显示许多新项目。


非常感谢一些帮助。我在

时刻使用的滚动条一次只能显示一个新闻项,有人可以建议代码我可以插入以显示许多新闻吗?
I''m looking for a javascipt vertical news scroller that will scroll
from the bottom of the page to the top showing many new items.

Would really appreciate some help. The scroller I''m using at the
moment only shows one news item at a time, can anyone suggest code I
could insert to show many news items?



为什么要使用js?


< marquee

direction =''up''

scrollamount =''2''>

blah 1< br>

blah 2< br>

blah 3< br>

blah 4

< / marquee>


-

Evertjan 。

荷兰。

(请在我的电子邮件地址中将x'变为点数)

Why use js?

<marquee
direction=''up''
scrollamount=''2''>
blah 1<br>
blah 2<br>
blah 3<br>
blah 4
</marquee>

--
Evertjan.
The Netherlands.
(Please change the x''es to dots in my emailaddress)


Evertjan 。写道:
Evertjan. wrote :

Mars于2007年17日在comp.lang.javascript中写道

>我正在寻找一个javascipt垂直新闻滚动条,它将从页面底部滚动到顶部显示许多新项目。

非常感谢一些救命。我在
时刻使用的滚动条一次只显示一个新闻项目,任何人都可以建议我可以插入的代码来显示许多新闻项目吗?
>I''m looking for a javascipt vertical news scroller that will scroll
from the bottom of the page to the top showing many new items.

Would really appreciate some help. The scroller I''m using at the
moment only shows one news item at a time, can anyone suggest code I
could insert to show many news items?



为什么要用js?


< marquee

direction =''up''

scrollamount = ''2''>

blah 1< br>

blah 2< br>

blah 3< br>

blah 4

< / marquee>


Why use js?

<marquee
direction=''up''
scrollamount=''2''>
blah 1<br>
blah 2<br>
blah 3<br>
blah 4
</marquee>



一个可能的原因是因为< marqueeis无效HTML 4.01。

另一个原因是< marqueeis无法访问:用户不能

控制它,不能让它停止,减速,重启等等。


OP的其他可能替代方案:

http://devedge-temp.mozilla.org/tool...js-loader.html

http://devedge-temp.mozilla.org/tool...ch-pauser。 html

http://devedge-temp.mozilla.org/tool...-combined.html

http://devedge-temp.mozilla.org/tool.../index_en.html


http://developer.mozilla .org / en / docs ... e:Stock_Ticker


一个很好的例子(跨浏览器,使用经过验证的标记代码,

可访问)使用右到左DHTML选框:
http://开发人员.mozilla.org / samples / StockTicker /
$ b $bGérard

-

在Web中使用Web标准页面(2007年4月更新)
http://developer.mozilla .org / en / docs ... your_Web_Pages

One possible reason would be because <marqueeis not valid HTML 4.01.
Another reason is that <marqueeis not accessible: the user can not
control it, can not make it stop, slow down, restart, etc.

Other possible alternatives for the OP:

http://devedge-temp.mozilla.org/tool...js-loader.html

http://devedge-temp.mozilla.org/tool...ch-pauser.html

http://devedge-temp.mozilla.org/tool...-combined.html

http://devedge-temp.mozilla.org/tool.../index_en.html
and
http://developer.mozilla.org/en/docs...e:Stock_Ticker

One good example (cross-browser, using validated markup code,
accessible) of using a right to left DHTML marquee:
http://developer.mozilla.org/samples/StockTicker/

Gérard
--
Using Web Standards in your Web Pages (Updated Apr. 2007)
http://developer.mozilla.org/en/docs...your_Web_Pages


GérardTalbot在2007年5月17日上午10:22发表以下内容:
Gérard Talbot said the following on 5/17/2007 10:22 AM:

Evertjan。写道:
Evertjan. wrote :

> Mars写于17 mei 2007 in comp.lang.javascript

>>我正在寻找一个javascipt垂直新闻滚动条,它将从页面底部滚动到顶部,显示许多新项目。

非常感谢一些帮助。我在
时刻使用的滚动条一次只显示一个新闻项目,任何人都可以建议我可以插入的代码来显示许多新闻项目吗?
>>I''m looking for a javascipt vertical news scroller that will scroll
from the bottom of the page to the top showing many new items.

Would really appreciate some help. The scroller I''m using at the
moment only shows one news item at a time, can anyone suggest code I
could insert to show many news items?


为什么要使用js?

< marquee
direction =''up''
scrollamount ='''2''blah 1< br>
blah 2< ; br>
blah 3< br>
等等4
< / marquee>


Why use js?

<marquee
direction=''up''
scrollamount=''2''blah 1<br>
blah 2<br>
blah 3<br>
blah 4
</marquee>



一个可能的原因是因为< marqueeis无效HTML 4.01。


One possible reason would be because <marqueeis not valid HTML 4.01.



网上没有99%的HTML,但这并不能阻止人们。


-

兰迪

机会有利于准备好的心灵

comp.lang.javascript常见问题 - http://jibbering.com/faq/index.html

Javascript最佳实践 - http://www.JavascriptToolbox.com/bestpractices/


这篇关于Javascript新闻滚动条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆