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,
|
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,
|
a, abbr, acronym, address, big, cite, code,
|
||||||
del, dfn, img, ins, kbd, q, s, samp,
|
del, dfn, img, ins, kbd, q, s, samp,
|
||||||
small, strike, sub, sup, tt, var, center,
|
small, strike, sub, sup, tt, var, center,
|
||||||
|
@ -34,6 +34,7 @@ body {
|
||||||
ol, ul {
|
ol, ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote, q {
|
blockquote, q {
|
||||||
quotes: none;
|
quotes: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -119,7 +119,7 @@ $(function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
function cycleFrontImage() {
|
function cycleFrontImage() {
|
||||||
BOO = $('.buttonsSelected');
|
// BOO = $('.buttonsSelected');
|
||||||
var currImage = parseInt($('.buttonsSelected').attr("id").replace("button", ""));
|
var currImage = parseInt($('.buttonsSelected').attr("id").replace("button", ""));
|
||||||
var currBanner = $('.banner').eq(currImage);
|
var currBanner = $('.banner').eq(currImage);
|
||||||
if (currImage < ($('.buttons').length - 1)) {
|
if (currImage < ($('.buttons').length - 1)) {
|
||||||
|
@ -127,12 +127,12 @@ function cycleFrontImage() {
|
||||||
} else {
|
} else {
|
||||||
var nextImage = 0;
|
var nextImage = 0;
|
||||||
}
|
}
|
||||||
console.log(nextImage);
|
// console.log(nextImage);
|
||||||
$('.banner').hide();
|
$('.banner').hide();
|
||||||
$('.buttonsSelected').removeClass("buttonsSelected");
|
$('.buttonsSelected').removeClass("buttonsSelected");
|
||||||
$('.banner').eq(nextImage).show();
|
$('.banner').eq(nextImage).show();
|
||||||
$('#button' + nextImage).addClass("buttonsSelected");
|
$('#button' + nextImage).addClass("buttonsSelected");
|
||||||
setTimeout(cycleFrontImage, 5000);
|
setTimeout(cycleFrontImage, 10000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user