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