From 07fb39d50f9be3684c300be75e030e2af6f8cf27 Mon Sep 17 00:00:00 2001 From: risq Date: Fri, 31 Jan 2014 16:58:39 +0100 Subject: [PATCH] minor changes --- css/newsticker.css | 6 +++--- index.html => demo.html | 1 + js/newsTicker.js | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) rename index.html => demo.html (98%) 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 98% 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(); } }