EstebanDLPT (Talk | contribs) m |
EstebanDLPT (Talk | contribs) m |
||
Line 122: | Line 122: | ||
var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000); | var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000); | ||
+ | |||
+ | function slideVideo() { | ||
+ | $("#video-main-page").css('transform','translateY(-100%)'); | ||
+ | $("#skip-btn").css('transform','translateY(-100%)'); | ||
+ | $("#skip-btn").css({'top': '-1%'}); | ||
+ | } | ||
$(window).on('beforeunload', function(){ | $(window).on('beforeunload', function(){ | ||
Line 134: | Line 140: | ||
slideVideo(); | slideVideo(); | ||
}); | }); | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
function map(value, in_min, in_max, out_min, out_max) { | function map(value, in_min, in_max, out_min, out_max) { |
Revision as of 23:57, 11 October 2018
Intro
Description