jQuery News Ticker with Responsive Design

The eocNewsticker is a simple and lightweight jQuery news ticker plugin with responsive & clean design. The plugin generates horizontal breaking news bar that scroll right to left. It can be used to animate links of latest news / posts of your website.

The plugin can be fully customized with CSS and with its available options. Moreover, you can control scrolling speed etc.

Plugin Overview

Plugin: eocNewsticker
Author: Dieter Schmitt
Licence: MIT Licence
Published: January 20, 2024
Repository: Fork on GitHub
Dependencies: jQuery 2.2.4 or Latest version
File Type: zip archive (HTML, CSS & JavaScript )
Package Size: 4 KB

How to Use jQuery Responsive News Ticker

1. Load the jQuery and eocNewsticker‘s CSS and JavaScript file into your HTML document to create news ticker.

<!-- jQuery -->
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>

<!-- News Ticker CSS -->
<link rel="stylesheet" href="css/eocnewsticker.css">

<!-- News Ticker Js -->
<script src="js/eocnewsticker.js"></script>

2. After that, create a div element with a unique id that contains your news/posts links or simple text.

<div id="myNews">The quick brown fox jumps over the lazy dog</div>

3. Finally, initialize the plugin in jQuery document ready function to active news ticker.

$(document).ready(function() {

Advance Configuration Options for jQuery News Ticker Plugin

The following are some advance configuration options to create / customize “eocNewsticker”.

Option Description, Default, Type

This option define the moving/scrolling speed (per 1000px) in seconds of news ticker. Default: 20, Type: Number.

   speed: 20,

It define the waiting time after that news ticker should start scrolling. Default: 2, Type: Number.

    timeout: 2,

This is useful to seprate text/links of posts/news. Default: ‘+++’, Type: String.

   divider: "|",

Leave a Comment

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

About CodeHim

Free Web Design Code & Scripts - CodeHim is one of the BEST developer websites that provide web designers and developers with a simple way to preview and download a variety of free code & scripts. All codes published on CodeHim are open source, distributed under OSD-compliant license which grants all the rights to use, study, change and share the software in modified and unmodified form. Before publishing, we test and review each code snippet to avoid errors, but we cannot warrant the full correctness of all content. All trademarks, trade names, logos, and icons are the property of their respective owners... find out more...

Please Rel0ad/PressF5 this page if you can't click the download/preview link