risq / jquery-advanced-news-ticker

(deprecated) - A powerful, flexible and animated vertical news ticker plugin for JQuery.
http://risq.github.io/jquery-advanced-news-ticker
GNU General Public License v2.0
297 stars 104 forks source link

Support for button states #18

Open daveshapiro opened 9 years ago

daveshapiro commented 9 years ago

For those of us who may wish to enable/disable buttons based on the ticker state, it would be useful to add:

startButtonDisabledClass - Automatically apply this class when ticker is running stopButtonDisabledClass - Automatically apply this class when ticker is stopped nextButtonDisabledClass + callback to return true/false whether the next button should be disabled prevButtonDisabledClass + callback to return true/false whether the prev button should be disabled