main
Razmig Sarkissian 2 years ago
parent ecada3e6e1
commit ec8f1438fb
  1. 2
      scores/templates/scores/brackets.html
  2. 7
      scores/templates/scores/ranks.html
  3. 7
      scores/templates/scores/teams.html
  4. 65
      scores/templates/scores/tournament.html

@ -22,7 +22,7 @@
{% if tv %}
<script>
var iInterval = 2000;
var iInterval = 4000;
var iScrollInterval = 10000;
var iFadeInterval = 500;
var iScroll = $(document).height() - $(window).height();

@ -26,7 +26,7 @@
{% if tv %}
<script>
var iInterval = 2000;
var iInterval = 4000;
var iScrollInterval = 10000;
var iFadeInterval = 500;
var iScroll = $(document).height() - $(window).height();
@ -51,13 +51,14 @@
easing : "linear",
complete : function() {
setTimeout(function(){
window.location.reload();
$(window).scrollTop(0);
window.location.reload();
}, iInterval);
}
});
};
setTimeout(loop, iInterval);
</script>
</script>
{% endif %}
{% if tournament.club.header %}

@ -26,7 +26,7 @@
{% if tv %}
<script>
var iInterval = 2000;
var iInterval = 4000;
var iScrollInterval = 10000;
var iFadeInterval = 500;
var iScroll = $(document).height() - $(window).height();
@ -51,13 +51,14 @@
easing : "linear",
complete : function() {
setTimeout(function(){
window.location.reload();
$(window).scrollTop(0);
window.location.reload();
}, iInterval);
}
});
};
setTimeout(loop, iInterval);
</script>
</script>
{% endif %}
{% if tournament.club.header %}

@ -22,38 +22,39 @@
{% if tv %}
<script>
var iInterval = 2000;
var iScrollInterval = 10000;
var iFadeInterval = 500;
var iScroll = $(document).height() - $(window).height();
if (iScroll * 10 + 4000 < 15000) {
iScrollInterval = 10000;
} else {
iScrollInterval = iScroll * 10;
}
var loop = function() {
var iScroll = $(document).height() - $(window).height();
if (iScroll * 10 + 4000 < 15000) {
iScrollInterval = 10000;
} else {
iScrollInterval = iScroll * 10;
}
$("html, body").animate({
scrollTop: iScroll
}, {
duration : iScrollInterval,
easing : "linear",
complete : function() {
setTimeout(function(){
window.location.reload();
}, iInterval);
}
});
};
setTimeout(loop, iInterval);
</script>
var iInterval = 4000;
var iScrollInterval = 10000;
var iFadeInterval = 500;
var iScroll = $(document).height() - $(window).height();
if (iScroll * 10 + 4000 < 15000) {
iScrollInterval = 10000;
} else {
iScrollInterval = iScroll * 10;
}
var loop = function() {
var iScroll = $(document).height() - $(window).height();
if (iScroll * 10 + 4000 < 15000) {
iScrollInterval = 10000;
} else {
iScrollInterval = iScroll * 10;
}
$("html, body").animate({
scrollTop: iScroll
}, {
duration : iScrollInterval,
easing : "linear",
complete : function() {
setTimeout(function(){
$(window).scrollTop(0);
window.location.reload();
}, iInterval);
}
});
};
setTimeout(loop, iInterval);
</script>
{% endif %}
{% if tournament.club.header %}

Loading…
Cancel
Save