EstebanDLPT (Talk | contribs) m |
EstebanDLPT (Talk | contribs) m |
||
Line 274: | Line 274: | ||
var bacteriaTop = map(scroll, 900, 2000, -100, 100); | var bacteriaTop = map(scroll, 900, 2000, -100, 100); | ||
var bacteriaRotate = map(scroll, 0, 700, 50, 0); | var bacteriaRotate = map(scroll, 0, 700, 50, 0); | ||
− | if ( | + | if (scroll > hidingPos) { |
$('#bacteria-nadando ').css('opacity','0'); | $('#bacteria-nadando ').css('opacity','0'); | ||
} else { | } else { |
Revision as of 19:10, 13 October 2018