Template:Peking2012 Color Prologue

From 2012.igem.org

(Difference between revisions)
m
m
Line 516: Line 516:
</script>
</script>
-
<div><p class="blank floatC"></p></div>
+
<div class="floatC"><p class="blank">&#32;</p></div>
<div id="PKU_banner_container">
<div id="PKU_banner_container">
  <div class="floatL">
  <div class="floatL">
Line 670: Line 670:
  */
  */
-
var Submenu_Size_Cur = [0, 0, 0, 0, 0];
+
var Submenu_Size_Cur = [120, 0, 0, 0, 0];
var Submenu_Item_Num = 4;
var Submenu_Item_Num = 4;
var Submenu_Item_Des = 0;
var Submenu_Item_Des = 0;
Line 680: Line 680:
var Submenu = document.getElementById('PKU_banner_submenu');
var Submenu = document.getElementById('PKU_banner_submenu');
var Submenu_Obj = Submenu.getElementsByName('submenu_h');
var Submenu_Obj = Submenu.getElementsByName('submenu_h');
 +
for (var it=0;it<=Submenu_Item_Num;++it)
 +
{
 +
  Submenu_Obj[it].style.height=Submenu_Size_Cur[it]+'px';
 +
}
/* Automatic Function */
/* Automatic Function */

Revision as of 12:35, 10 September 2012