|
|
|
|
@ -15,7 +15,7 @@ |
|
|
|
|
<title>Padel</title> |
|
|
|
|
</head> |
|
|
|
|
{% if tv %} |
|
|
|
|
<div class="wrapper" style="zoom:200%"> |
|
|
|
|
<div class="wrapper" style="zoom:125%"> |
|
|
|
|
{% else %} |
|
|
|
|
<div class="wrapper"> |
|
|
|
|
{% endif %} |
|
|
|
|
@ -33,14 +33,6 @@ |
|
|
|
|
} else { |
|
|
|
|
iScrollInterval = iScroll * 10; |
|
|
|
|
} |
|
|
|
|
var fade = function() { |
|
|
|
|
$("body").fadeOut(iFadeInterval, function(){ |
|
|
|
|
$("html, body").scrollTop(0); |
|
|
|
|
$("body").fadeIn(iFadeInterval,function(){ |
|
|
|
|
setTimeout(loop, iInterval); |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var loop = function() { |
|
|
|
|
var iScroll = $(document).height() - $(window).height(); |
|
|
|
|
@ -55,12 +47,11 @@ |
|
|
|
|
duration : iScrollInterval, |
|
|
|
|
easing : "linear", |
|
|
|
|
complete : function() { |
|
|
|
|
setTimeout(fade, iInterval); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
setTimeout(function(){ |
|
|
|
|
window.location.reload(); |
|
|
|
|
}, Math.max(iScrollInterval * 10 + 2000, 15000)); |
|
|
|
|
}, iInterval); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
}; |
|
|
|
|
setTimeout(loop, iInterval); |
|
|
|
|
</script> |
|
|
|
|
|