diff --git a/css/newsticker.css b/css/newsticker.css index 36ad006..d749164 100644 --- a/css/newsticker.css +++ b/css/newsticker.css @@ -6,7 +6,7 @@ body { color: #444; font-size: 1.2em; font-weight: 300; - background-color: #f5dcd1; + background-color: #fefefe; } a { @@ -33,7 +33,7 @@ a:active { /* - MULTILINES + MULTILINES EXAMPLE CSS */ #multilines .controls { @@ -97,7 +97,7 @@ a:active { /* - ONELINER + ONELINER EXAMPLE CSS */ #oneliner { diff --git a/index.html b/demo.html similarity index 99% rename from index.html rename to demo.html index 72028c9..ee481e7 100644 --- a/index.html +++ b/demo.html @@ -8,6 +8,7 @@ +

JQuery Advanced News Ticker

Breaking News diff --git a/js/newsTicker.js b/js/newsTicker.js index d46f33e..34ea9fd 100644 --- a/js/newsTicker.js +++ b/js/newsTicker.js @@ -81,7 +81,7 @@ this.state = 0; this.paused = 0; this.moving = 0; - if (this.$el.is('ul')) { + if (this.$el.is('ul') || this.$el.is('ol')) { this.init(); } }