Title: Create a ticker
Last modified: August 12, 2019

---

# Create a ticker

 *  [Srikant Aggarwal](https://wordpress.org/support/users/srikantchetu/)
 * (@srikantchetu)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/create-a-ticker/)
 * I need something where EACH notification has its own ticker but is started only
   when the previous has completely entered the screen so they don’t overlap but
   move independently, and NOT repeat. Could it be possible with jquery ??
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcreate-a-ticker%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [6 years, 10 months ago](https://wordpress.org/support/topic/create-a-ticker/#post-11823516)
 * Sure, but having a visual ticker can be distracting for readers on your page 
   and having multiple tickers can be even more distracting. What is your greater
   goal?
 *  Thread Starter [Srikant Aggarwal](https://wordpress.org/support/users/srikantchetu/)
 * (@srikantchetu)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/create-a-ticker/#post-11823543)
 * I want to create a ticker for flash messages. For eg. You have changed the status
   of a particular field than a flash message will appear in footer i.e. “Your status
   has been changed”. It’s basically animated from RIght to the left direction.
   
   FOllowing goals I need to be fulfilled. 1. The flash message moves from right
   to left in the footer. 2. It can be paused on a mouse hover. 3. Ticker data doesn’t
   need to persist so once shown and moved out of view it can be discarded.
 * Thanks in advance
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [6 years, 10 months ago](https://wordpress.org/support/topic/create-a-ticker/#post-11823639)
 * It’s fine to have those goals, but the jQuery ticker and animation needs to tie
   into the functionality that you have for the flash message. Otherwise the ticker
   will just have to be set on an arbitrary number of seconds. Where does your flash
   message functionality come from?
 *  Thread Starter [Srikant Aggarwal](https://wordpress.org/support/users/srikantchetu/)
 * (@srikantchetu)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/create-a-ticker/#post-11823656)
 * The Flash messages functionality comes from the custom jquery plugin i.e. ocNotify.
   js.
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [6 years, 10 months ago](https://wordpress.org/support/topic/create-a-ticker/#post-11823705)
 * and how do you know if a field is pending a change VS a field has been changed?
 *  Thread Starter [Srikant Aggarwal](https://wordpress.org/support/users/srikantchetu/)
 * (@srikantchetu)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/create-a-ticker/#post-11823733)
 * For eg, we click the particular event, so in this following code I used:-
    $.
   ocNotify.info(‘List filtered by **‘+filter_value+’**.’); and in the octnotify.
   js file:-
 *     ```
       info : function(msg,params){
                   return this.add(msg,'info',params);
               },
   
       add:function(msg,type,setting){
                   var params = {};
                   if(typeof msg==="object"){
                       params = msg;
                   }else{
                       switch(typeof type){
                           case 'object' :
                               params = $.extend(type,{msg:msg});
                               break;
                           case 'function':
                               params = {msg:msg,callback:type};
                               break;
                           default:
                               switch(typeof setting){
                                   case 'object' :
                                       params = $.extend(setting,{msg:msg,type:type});
                                   break;
                                   case 'function' :
                                       params = {msg:msg,type:type,callback:setting};
                                   break;
                                   default:
                                       params = {msg:msg,type:type};
                               }
                       }
   
                   }
                   return this.create(params);
               },
       ```
   
 * And in the create object :-
    one variable i.e var $domItem = this._domConstruct(
   itemId,msgStr) ; from this list is filtered.
    -  This reply was modified 6 years, 10 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [6 years, 10 months ago](https://wordpress.org/support/topic/create-a-ticker/#post-11823801)
 * Did you write ‘ocNotify.js’? Nothing’s coming up in Google and to understand 
   what the above code is doing, we need knowledge of that script.
 *  Thread Starter [Srikant Aggarwal](https://wordpress.org/support/users/srikantchetu/)
 * (@srikantchetu)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/create-a-ticker/#post-11823832)
 * Could I send you this file if you want to? Please provide your email?
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [6 years, 10 months ago](https://wordpress.org/support/topic/create-a-ticker/#post-11823866)
 * Nope
 *  Thread Starter [Srikant Aggarwal](https://wordpress.org/support/users/srikantchetu/)
 * (@srikantchetu)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/create-a-ticker/#post-11824202)
 * could you help me regarding making the animation effect of a ticker which will
   move from right to left & it could be paused on mouse hover? And also, Ticker
   data doesn’t need to persist so once shown and moved out of view it can be discarded.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Create a ticker’ is closed to new replies.

## Tags

 * [jquery](https://wordpress.org/support/topic-tag/jquery/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 2 participants
 * Last reply from: [Srikant Aggarwal](https://wordpress.org/support/users/srikantchetu/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/create-a-ticker/#post-11824202)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
