Template:Peking2012 Color Prologue

From 2012.igem.org

(Difference between revisions)
m
m
Line 56: Line 56:
   overflow: hidden;
   overflow: hidden;
   border-style: none;
   border-style: none;
 +
}
 +
#bodyContent
 +
{
 +
  z-index: 0;
}
}
#footer-box
#footer-box
Line 64: Line 68:
   background-image: none;
   background-image: none;
   border-style: none;
   border-style: none;
-
   z-index: 30;
+
   z-index: 0;
}
}
#catlinks
#catlinks
Line 224: Line 228:
   margin: 0 auto 30px;
   margin: 0 auto 30px;
   text-align: center;
   text-align: center;
-
   z-index: 30;
+
   z-index: 0;
}
}
#PKU_banner_image
#PKU_banner_image
Line 314: Line 318:
   position: relative;
   position: relative;
   top: -120px;
   top: -120px;
-
   z-index: -1;
+
   z-index: 0;
}
}
Line 505: Line 509:
  </div>
  </div>
  <div class="floatR">
  <div class="floatR">
-
   <ul id="PKU_banner_menu" class="button horizontal" style="z-index:50;">
+
   <ul id="PKU_banner_menu" class="button horizontal">
   <li style="width:60px;">
   <li style="width:60px;">
     <a onmouseover="TriggerSubmenu(0);" href="/Team:Peking">
     <a onmouseover="TriggerSubmenu(0);" href="/Team:Peking">
Line 662: Line 666:
var Submenu_Handle_State = 0; //0:Null, 1:Growth, 2:Waiting, 3:Wither
var Submenu_Handle_State = 0; //0:Null, 1:Growth, 2:Waiting, 3:Wither
var Submenu_Handle = null;
var Submenu_Handle = null;
 +
var Submenu_Parent = document.getElementById('PKU_banner_container');
var Submenu = document.getElementById('PKU_banner_submenu');
var Submenu = document.getElementById('PKU_banner_submenu');
var Submenu_Obj = Submenu.getElementsByTagName('ul');
var Submenu_Obj = Submenu.getElementsByTagName('ul');
Line 712: Line 717:
       Submenu_Handle_State = 0;
       Submenu_Handle_State = 0;
       Submenu_Handle = null;
       Submenu_Handle = null;
-
       Submenu.style.zIndex = -1;
+
       Submenu_Parent.style.zIndex = 0;
     }
     }
   }
   }
Line 738: Line 743:
       if (i!=0)
       if (i!=0)
       {
       {
-
         Submenu.style.zIndex = 80;
+
         Submenu_Parent.style.zIndex = 2;
         Submenu_Item_Des = i;
         Submenu_Item_Des = i;
         Submenu_Item_Cur = i;
         Submenu_Item_Cur = i;

Revision as of 02:02, 11 September 2012