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?
- Add this jQuery before closing head tag (</head>).
- Add the below HTML codes with your news content where you want to show scrolling news.
- Style up the news blocks using CSS.
Preview link: http://codepen.io/blbwd/full/BpBzmb/