CharisKomos (Talk | contribs) |
CharisKomos (Talk | contribs) |
||
Line 9: | Line 9: | ||
void(document.getElementById('svg_graphics_box').style.display = 'block'); | void(document.getElementById('svg_graphics_box').style.display = 'block'); | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
</script> | </script> | ||
Line 62: | Line 57: | ||
void(document.getElementById('profile').style.visibility = 'visible'); | void(document.getElementById('profile').style.visibility = 'visible'); | ||
void(document.getElementById('personnel').style.display = 'block'); | void(document.getElementById('personnel').style.display = 'block'); | ||
− | + | scrollTillBottom(); | |
} | } | ||
+ | |||
+ | function scrollTillBottom(){ | ||
+ | var i = 10; | ||
+ | var int = setInterval(function(){ | ||
+ | window.scrollTo(0, i); | ||
+ | i += 10; | ||
+ | if (i == document.body.scrollHeight) clearInterval(int); | ||
+ | } | ||
+ | } | ||
+ | |||
</script> | </script> | ||
Revision as of 10:11, 12 August 2017