Commit b362de27 authored by christian.zenker's avatar christian.zenker

slowed down banner changing on homepage


git-svn-id: http://svn.t3o.typo3.org/extensions/projects/t3org/randombanners/trunk@1828 e8cb78a8-64f2-4011-8042-bd1ea5058d47
parent b430835f
......@@ -47,9 +47,9 @@ function initBanners() {
$(".banner"+banneri+":eq("+current_banner+")").data('banners', {banneri: banneri, new_banner: new_banner}).fadeOut("slow", function() {
$(".banner"+$(this).data('banners').banneri+":eq("+$(this).data('banners').new_banner+")").fadeIn("slow", function() { $(this).addClass("shown")});
});
$('.gc .tx-randombanners:eq(' + next + ')').data('no', next).oneTime('1s', 'premiumbanner', rotateNext);
$('.gc .tx-randombanners:eq(' + next + ')').data('no', next).oneTime('5s', 'premiumbanner', rotateNext);
}
$('.gc .tx-randombanners:eq(0)').data('no', 0).oneTime('1s', 'premiumbanner', rotateNext);
$('.gc .tx-randombanners:eq(0)').data('no', 0).oneTime('5s', 'premiumbanner', rotateNext);
}
$(document).everyTime(5000,function(){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment