Shreygupta (Talk | contribs) |
Shreygupta (Talk | contribs) |
||
Line 32: | Line 32: | ||
function myFunction() { | function myFunction() { | ||
+ | console.log(height); | ||
+ | console.log(document.body.scrollTop); | ||
+ | console.log(document.documentElement.scrollTop); | ||
if (document.body.scrollTop > height || document.documentElement.scrollTop > height) { | if (document.body.scrollTop > height || document.documentElement.scrollTop > height) { | ||
$("#inPageNav").fadeIn(200); | $("#inPageNav").fadeIn(200); |
Revision as of 21:08, 1 November 2017