Template:Peking2012 CSS
From 2012.igem.org
(Difference between revisions)
m |
m |
||
Line 762: | Line 762: | ||
tmp = document.getElementById("PKU_banner_Team_submenu"); | tmp = document.getElementById("PKU_banner_Team_submenu"); | ||
if (SubmenuAlpha_Des_Team == 0) | if (SubmenuAlpha_Des_Team == 0) | ||
- | |||
{ | { | ||
- | tmp.style.display = none; | + | if (SubmenuAlpha_Cur_Team < 0.01) |
+ | { | ||
+ | tmp.style.display = none; | ||
+ | } | ||
} | } | ||
if (tmp.filter != undefined) /*IE*/ | if (tmp.filter != undefined) /*IE*/ | ||
Line 777: | Line 779: | ||
tmp = document.getElementById("PKU_banner_Project_submenu"); | tmp = document.getElementById("PKU_banner_Project_submenu"); | ||
if (SubmenuAlpha_Des_Project == 0) | if (SubmenuAlpha_Des_Project == 0) | ||
- | |||
{ | { | ||
- | tmp.style.display = none; | + | if (SubmenuAlpha_Cur_Project < 0.01) |
+ | { | ||
+ | tmp.style.display = none; | ||
+ | } | ||
} | } | ||
if (tmp.filter != undefined) /*IE*/ | if (tmp.filter != undefined) /*IE*/ | ||
Line 792: | Line 796: | ||
tmp = document.getElementById("PKU_banner_Modeling_submenu"); | tmp = document.getElementById("PKU_banner_Modeling_submenu"); | ||
if (SubmenuAlpha_Des_Modeling == 0) | if (SubmenuAlpha_Des_Modeling == 0) | ||
- | |||
{ | { | ||
- | tmp.style.display = none; | + | if (SubmenuAlpha_Cur_Modeling < 0.01) |
+ | { | ||
+ | tmp.style.display = none; | ||
+ | } | ||
} | } | ||
if (tmp.filter != undefined) /*IE*/ | if (tmp.filter != undefined) /*IE*/ | ||
Line 807: | Line 813: | ||
tmp = document.getElementById("PKU_banner_HumanPractice_submenu"); | tmp = document.getElementById("PKU_banner_HumanPractice_submenu"); | ||
if (SubmenuAlpha_Des_HumanPractice == 0) | if (SubmenuAlpha_Des_HumanPractice == 0) | ||
- | |||
{ | { | ||
- | tmp.style.display = none; | + | if (SubmenuAlpha_Cur_HumanPractice < 0.01) |
+ | { | ||
+ | tmp.style.display = none; | ||
+ | } | ||
} | } | ||
if (tmp.filter != undefined) /*IE*/ | if (tmp.filter != undefined) /*IE*/ |
Revision as of 06:48, 8 August 2012