EstebanDLPT (Talk | contribs) m |
EstebanDLPT (Talk | contribs) m |
||
Line 257: | Line 257: | ||
//******************************************************* SCROLL OPACITY *********************************************** | //******************************************************* SCROLL OPACITY *********************************************** | ||
+ | |||
+ | |||
+ | |||
+ | $(window).scroll(function(event) { | ||
var hidingPos = document.getElementById("hiding-block").offsetTop; | var hidingPos = document.getElementById("hiding-block").offsetTop; | ||
Line 262: | Line 266: | ||
window.alert("Pos bacteria: " + bacteriaPos + " Pos hiding: " + hidingPos); | window.alert("Pos bacteria: " + bacteriaPos + " Pos hiding: " + hidingPos); | ||
− | |||
− | |||
var scroll = $(window).scrollTop(); | var scroll = $(window).scrollTop(); |
Revision as of 19:05, 13 October 2018