Difference between revisions of "Template:Sicau-china navigation"

Line 194: Line 194:
 
    var s = document.body.scrollTop || document.documentElement.scrollTop
 
    var s = document.body.scrollTop || document.documentElement.scrollTop
 
    if(s>H+90) {
 
    if(s>H+90) {
        oDiv.style = "top:-90px;width:100%;z-index:100;"
+
        oDiv.style = "position:-100px;top:-90px;width:100%;z-index:100;"
 
    } else {
 
    } else {
 
        oDiv.style = ""
 
        oDiv.style = ""

Revision as of 18:52, 1 November 2017