Line 193: | Line 193: | ||
{ | { | ||
var s = document.body.scrollTop || document.documentElement.scrollTop | var s = document.body.scrollTop || document.documentElement.scrollTop | ||
− | if(s>H+ | + | if(s>H+80) { |
− | oDiv.style = "position:fixed;top:- | + | oDiv.style = "position:fixed;top:-80px;width:100%;z-index:100;" |
} else { | } else { | ||
oDiv.style = "" | oDiv.style = "" |
Revision as of 11:55, 1 November 2017