开发者

Html marquee tag

Is html marquee tag deprecated ? If yes what are the alternatives for it on t开发者_如何学运维he modern browser ?

I want to create a simple marquee effect on my joomla page


Is html marquee tag deprecated ?

No, it would have had to been part of the language in the first place before it could be deprecated.

It is simply proprietary.

If yes what are the alternatives for it on the modern browser ?

The best option is: Nice, easy to read motionless test.

Scrolling text is excellent for displaying a lot of information, in a small space, non-interactively.

Web browser windows are neither small, nor non-interactive (we have scrollbars), so the benefits of scrolling text are lost and you are left only with the drawbacks (which are that it is harder to read, and distracting when users are trying to read other parts of the page).

The only standard way to achieve scrolling text (if you still want it, despite the horrible drawbacks) is to use JavaScript to dynamically change CSS to move an element about.


It has been deprecated. You'll probably have to use javascript, implementing it with a jQuery UI effect should be straightforward. Check out this demo, I think this is what you are after: http://remysharp.com/2008/09/10/the-silky-smooth-marquee/


You can use javascript and CSS to generate nice looking elements which will have the functionality of a marquee.

You can have a loot at 11 Obsolete features - HTML5

jScroller is an autoscroller in jQuery


Marquee tag is deprecated by w3c, there is no such tag in HTML Spec. So you should not use this tag at all. In case you need functionality of this tag you should use some jquery plugin, i.e

  • http://jscroller.markusbordihn.de/
  • http://plugins.jquery.com/project/marquee
  • http://www.givainc.com/labs/marquee_jquery_plugin.htm


You can use javascript to generate the ticker effect.

Tutorial http://www.pagecolumn.com/webparts/ticker.htm

Demo http://www.pagecolumn.com/webparts/ticker_bbc.htm


Use Below Jquery:-

https://www.givainc.com/labs/marquee_jquery_plugin.cfm

Requirement:

jQuery v1.2.6 (or higher)*
jquery.marquee.js Plug-in
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜