From 3d7d35fee5f7e8151fd1451470c1839abe194cfe Mon Sep 17 00:00:00 2001 From: Sanj Date: Mon, 7 Nov 2011 00:28:56 +0530 Subject: [PATCH] remove blockquote from reset, take out some console.logs --- itf/static/css/reset.css | 3 ++- itf/static/js/frontpage.js | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/itf/static/css/reset.css b/itf/static/css/reset.css index e18819b..b3c7746 100755 --- a/itf/static/css/reset.css +++ b/itf/static/css/reset.css @@ -4,7 +4,7 @@ */ html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, +h1, h2, h3, h4, h5, h6, p, pre, a, abbr, acronym, address, big, cite, code, del, dfn, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, center, @@ -34,6 +34,7 @@ body { ol, ul { list-style: none; } + blockquote, q { quotes: none; } diff --git a/itf/static/js/frontpage.js b/itf/static/js/frontpage.js index 7d4b513..3474273 100755 --- a/itf/static/js/frontpage.js +++ b/itf/static/js/frontpage.js @@ -119,7 +119,7 @@ $(function() { }); function cycleFrontImage() { - BOO = $('.buttonsSelected'); +// BOO = $('.buttonsSelected'); var currImage = parseInt($('.buttonsSelected').attr("id").replace("button", "")); var currBanner = $('.banner').eq(currImage); if (currImage < ($('.buttons').length - 1)) { @@ -127,12 +127,12 @@ function cycleFrontImage() { } else { var nextImage = 0; } - console.log(nextImage); +// console.log(nextImage); $('.banner').hide(); $('.buttonsSelected').removeClass("buttonsSelected"); $('.banner').eq(nextImage).show(); $('#button' + nextImage).addClass("buttonsSelected"); - setTimeout(cycleFrontImage, 5000); + setTimeout(cycleFrontImage, 10000); }