EstebanDLPT (Talk | contribs) m |
EstebanDLPT (Talk | contribs) m |
||
Line 262: | Line 262: | ||
var hidingPos = hiding.offsetTop; | var hidingPos = hiding.offsetTop; | ||
var bacteriaPos = document.getElementById("bacteria-nadando").offsetTop; | var bacteriaPos = document.getElementById("bacteria-nadando").offsetTop; | ||
+ | |||
+ | console.log("Pos bacteria: " + bacteriaPos + " Pos hiding: " + hidingPos); | ||
var scroll = $(window).scrollTop(); | var scroll = $(window).scrollTop(); |
Revision as of 18:48, 13 October 2018