Line 192: | Line 192: | ||
window.onscroll = function() | window.onscroll = function() | ||
{ | { | ||
− | + | var s = document.body.scrollTop || document.documentElement.scrollTop | |
if(s>H) { | if(s>H) { | ||
oDiv.style = "position:fixed;top:-90px;width:100%;z-index:100;" | oDiv.style = "position:fixed;top:-90px;width:100%;z-index:100;" |
Revision as of 11:32, 1 November 2017