JQuery News Ticker: jQuery-based Real-time News and quotations display plug-in

Source: Internet
Author: User

:


JQuery news ticker is a very convenient jQuery plug-in that allows you to quickly generate such a news market effect.

It can generate news content through the list, HTML, and even RSS (only the RSS feed of this site can be loaded), and supports back and forth playback and stop. This plug-in supports a series of custom options, such:

Playback speed
Playback Effect
Playback direction
Display time
Code development is simple and efficient.

First introduce the jQuery news ticker class library and its jQuery Class Library:
Copy codeThe Code is as follows:
<Link href = "css/ticker-style.css" rel = "stylesheet" type = "text/css"/>
<Script src = "jquery. ticker. js" type = "text/javascript"> </script>

HTML code:
Copy codeThe Code is as follows:
<Div id = "ticker-wrapper" class = "no-js">
<Ul id = "js-news" class = "js-hidden">
<Li class = "news-item"> <a href = "#"> This is the 1st latest news item. </a> </li>
<Li class = "news-item"> <a href = "#"> This is the 2nd latest news item. </a> </li>
<Li class = "news-item"> <a href = "#"> This is the 3rd latest news item. </a> </li>
<Li class = "news-item"> <a href = "#"> This is the 4th latest news item. </a> </li>
</Ul>
</Div>

Javascript:
Copy codeThe Code is as follows:
<Script type = "text/javascript">
$ (Function (){
$ ('# Js-News'). ticker ();
});
</Script>


Official Website http://www.gbin1.com/technology/jquerynews/20111105jquerypluginnewsticker/demo.html
Download Related Files

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.