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.

See the Pen Scrolling Text using CSS & Jquery by Sanjay Bhowmick (@blbwd) on CodePen.0

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

Leave a Reply