Template:Peking2012 CSS
From 2012.igem.org
(Difference between revisions)
m |
m |
||
Line 234: | Line 234: | ||
-moz-opacity: 0; | -moz-opacity: 0; | ||
opacity: 0; | opacity: 0; | ||
+ | display: none; | ||
} | } | ||
#PKU_banner_menu li , | #PKU_banner_menu li , | ||
Line 716: | Line 717: | ||
{ | { | ||
SubmenuAlpha_Des_Team = 1; | SubmenuAlpha_Des_Team = 1; | ||
+ | document.getElementById("PKU_banner_Team_submenu").style.display = "block"; | ||
} | } | ||
function HideSubmenuTeam() | function HideSubmenuTeam() | ||
Line 724: | Line 726: | ||
{ | { | ||
SubmenuAlpha_Des_Project = 1; | SubmenuAlpha_Des_Project = 1; | ||
+ | document.getElementById("PKU_banner_Project_submenu").style.display = "block"; | ||
} | } | ||
function HideSubmenuProject() | function HideSubmenuProject() | ||
Line 732: | Line 735: | ||
{ | { | ||
SubmenuAlpha_Des_Modeling = 1; | SubmenuAlpha_Des_Modeling = 1; | ||
+ | document.getElementById("PKU_banner_Modeling_submenu").style.display = "block"; | ||
} | } | ||
function HideSubmenuModeling() | function HideSubmenuModeling() | ||
Line 740: | Line 744: | ||
{ | { | ||
SubmenuAlpha_Des_HumanPractice = 1; | SubmenuAlpha_Des_HumanPractice = 1; | ||
+ | document.getElementById("PKU_banner_HumanPractice_submenu").style.display = "block"; | ||
} | } | ||
function HideSubmenuHumanPractice() | function HideSubmenuHumanPractice() | ||
Line 756: | Line 761: | ||
tmp = document.getElementById("PKU_banner_Team_submenu"); | tmp = document.getElementById("PKU_banner_Team_submenu"); | ||
+ | if (SubmenuAlpha_Des_Team == 0) | ||
+ | if (SubmenuAlpha_Cur_Team < 0.001) | ||
+ | { | ||
+ | tmp.style.display = none; | ||
+ | } | ||
if (tmp.filter != undefined) /*IE*/ | if (tmp.filter != undefined) /*IE*/ | ||
{ | { | ||
Line 766: | Line 776: | ||
tmp = document.getElementById("PKU_banner_Project_submenu"); | tmp = document.getElementById("PKU_banner_Project_submenu"); | ||
+ | if (SubmenuAlpha_Des_Project == 0) | ||
+ | if (SubmenuAlpha_Cur_Project < 0.001) | ||
+ | { | ||
+ | tmp.style.display = none; | ||
+ | } | ||
if (tmp.filter != undefined) /*IE*/ | if (tmp.filter != undefined) /*IE*/ | ||
{ | { | ||
Line 776: | Line 791: | ||
tmp = document.getElementById("PKU_banner_Modeling_submenu"); | tmp = document.getElementById("PKU_banner_Modeling_submenu"); | ||
+ | if (SubmenuAlpha_Des_Modeling == 0) | ||
+ | if (SubmenuAlpha_Cur_Modeling < 0.001) | ||
+ | { | ||
+ | tmp.style.display = none; | ||
+ | } | ||
if (tmp.filter != undefined) /*IE*/ | if (tmp.filter != undefined) /*IE*/ | ||
{ | { | ||
Line 786: | Line 806: | ||
tmp = document.getElementById("PKU_banner_HumanPractice_submenu"); | tmp = document.getElementById("PKU_banner_HumanPractice_submenu"); | ||
+ | if (SubmenuAlpha_Des_HumanPractice == 0) | ||
+ | if (SubmenuAlpha_Cur_HumanPractice < 0.001) | ||
+ | { | ||
+ | tmp.style.display = none; | ||
+ | } | ||
if (tmp.filter != undefined) /*IE*/ | if (tmp.filter != undefined) /*IE*/ | ||
{ | { |
Revision as of 06:41, 8 August 2012