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 = "position:fixed;top:-90;width:100%;z-index:100;"
+
        oDiv.style = "position:fixed;top:-90px;width:100%;z-index:100;"
 
    } else {
 
    } else {
 
        oDiv.style = ""
 
        oDiv.style = ""

Revision as of 12:15, 1 November 2017