Create simple news ticker for your website using CSS and jQuery

If we want to display any news in our websites, news ticker is the best visible solution for this. In this tutorial we will learn how to create the simple scrolling news ticker.

The news ticker is controlled by CSS and jQuery. Here I have attached the complete source code of the script without any CSS. The styling is up to you.

How to add this script on your website?

  1. Add this jQuery before closing head tag (</head>).
    <script type=”text/javascript” src=”https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js”>
  2. Add the below HTML codes with your news content where you want to show scrolling news.
  3. Style up the news blocks using CSS.

[codepen_embed height=”265″ theme_id=”0″ slug_hash=”BpBzmb” default_tab=”html,result” user=”blbwd”]See the Pen <a href=’http://codepen.io/blbwd/pen/BpBzmb/’>Scrolling Text using CSS & Jquery</a> by Sanjay Bhowmick (<a href=’http://codepen.io/blbwd’>@blbwd</a>) on <a href=’http://codepen.io’>CodePen</a>.[/codepen_embed]

Preview link: http://codepen.io/blbwd/full/BpBzmb/

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from Wavesdream

Subscribe now to keep reading and get access to the full archive.

Continue reading