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

Line 138: Line 138:
  
 
     <!--- THIS IS WHERE THE HTML BEGINS --->
 
     <!--- THIS IS WHERE THE HTML BEGINS --->
<div>
+
<div id="float">
 
<div class="navigation">
 
<div class="navigation">
 
<div class="collapsable_menu_control"> MENU ▤ </div>
 
<div class="collapsable_menu_control"> MENU ▤ </div>
Line 191: Line 191:
 
    var s = document.body.scrollTop || document.documentElement.scrollTop
 
    var s = document.body.scrollTop || document.documentElement.scrollTop
 
    if(s>H) {
 
    if(s>H) {
        oDiv.style = "position:fixed;top:-90px;width:100%;"
+
        oDiv.style = "position:fixed;top:0px;width:100%;"
 
    } else {
 
    } else {
 
        oDiv.style = ""
 
        oDiv.style = ""

Revision as of 15:57, 30 October 2017