Suzuki Marine


ie7Found = true; 0) {//if the iframe exists run the play code firstVid.vimeo(‘play’); jQuery(‘.vimeo-iframe’).each(function () { jQuery(this).on(“play”, function () { jQuery(‘.play’).css(‘height’, ‘0’); jQuery(“.desktop-carouselContainer”).trigger(“pause”, true); }); jQuery(this).on(“finish”, function () { jQuery(“.desktop-carouselContainer”).trigger(‘next’).trigger(“play”, true); jQuery(‘.play’).css(‘height’, ’11px’); }); }); } } else { jQuery(“.desktop-carouselContainer”).trigger(“play”, true); } jQuery(“.desktop-carouselContainer”).carouFredSel({ items: { visible: 1, minimum: 1 }, onCreate: function () { var i = 0; jQuery(this).children().each(function () { if (jQuery(“.disclaimer-text”, this).html().toString().replace(/ /gi, ”).replace(/n/g, ”) != “”) { jQuery(this).find(“.promo-content”).append(‘DISCLAIMER]]>’); if (ie7Found == true) { jQuery(‘.legal-disclaimer’).addClass(“legal-disclaimerIE7”); } } i++; }); showHideDisclaimer(this); }, scroll: { fx: “fade”, duration: 800, items: 1 }, auto: { play: true, progress: { bar: “.timer”, updater: function (percentage) { jQuery(this).width(percentage / (jQuery(“#promos-container .desktop-carouselContainer li a img”).width() / (jQuery(“.pagination”).width() + 15)) + “%”); jQuery(this).css({ “left”: jQuery(“#promos-container .desktop-carouselContainer li a img”).width() – jQuery(“.pagination”).width() – 15 }); }, interval: 50 }, onBefore: function (data) { jQuery(“.legal-disclaimer”, this).stop().hide(); jQuery(“.disclaimer-text”).stop(true, false).animate({ opacity: 0 }, 300).animate({ “bottom”: “-” + (disclaimerTextHeight + paginationHeight) + “px” }, 300); }, onAfter: function (data) { videoplayer(this); jQuery(“.desktop-carouselContainer”).trigger(“play”, true); showHideDisclaimer(this); }, timeoutDuration: 10000 }, pagination: { container: “.pagination”, anchorBuilder: function (nr) { var src = jQuery(“.promo-title”, this).html(); return ”; }, onBefore: function (data) { jQuery(“.legal-disclaimer”, this).stop().hide(); }, onAfter: function (data) { videoplayer(this); showHideDisclaimer(this); } }, width: 945, height: 429 }); var localDate = new Date(); if (((localDate.getHours() >= 23) || (localDate.getHours() jQuery.noConflict(); jQuery(‘.clock’).addClass(“ticker”); jQuery(‘.clock’).removeClass(“tickerIE7”); jQuery(‘.clock’).removeClass(“tickerIE8”); jQuery(‘.desktop-carouselContainer’).removeClass(“offsetIE7”); jQuery.noConflict(); jQuery(‘.clock’).removeClass(“ticker”); jQuery(‘.clock’).addClass(“tickerIE8”); jQuery(‘.clock’).removeClass(“tickerIE7”); jQuery(‘.desktop-carouselContainer’).removeClass(“offsetIE7”); #panel-body-content{ height: 429px; overflow: hidden; } jQuery.noConflict(); jQuery(‘.clock’).removeClass(“ticker”); jQuery(‘.clock’).addClass(“tickerIE7”); jQuery(‘.clock’).removeClass(“tickerIE8”); jQuery(‘.desktop-carouselContainer li a img’).addClass(“offsetIE7”);

Source

Leave a Reply