remove blockquote from reset, take out some console.logs
This commit is contained in:
parent
cf71adb5fd
commit
3d7d35fee5
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user