Line 597: | Line 597: | ||
.side-button.InterLab:after { | .side-button.InterLab:after { | ||
background: url("https://static.igem.org/mediawiki/2018/f/ff/T--NTHU_Formosa--icon_interlab.png") no-repeat center; | background: url("https://static.igem.org/mediawiki/2018/f/ff/T--NTHU_Formosa--icon_interlab.png") no-repeat center; | ||
+ | } | ||
+ | |||
+ | .side-button.Collaborations::before { | ||
+ | content: "Collaborations"; | ||
} | } | ||
− | .side-button. | + | .side-button.Collaborations:after { |
− | + | background: url("https://static.igem.org/mediawiki/2018/9/99/T--NTHU_Formosa--icon_collaboration.png") no-repeat center; | |
} | } | ||
− | .side-button. | + | .side-button.Public_Engagement::before { |
+ | content: "Public Engagement"; | ||
+ | } | ||
+ | |||
+ | .side-button.Public_Engagement:after { | ||
+ | background: url("https://static.igem.org/mediawiki/2018/e/e4/T--NTHU_Formosa--public_engagement.png") no-repeat center; | ||
+ | } | ||
+ | |||
+ | .side-button.Integrated_Human_Practice::before { | ||
+ | content: "Integrated Human Practice"; | ||
+ | } | ||
+ | |||
+ | .side-button.Integrated_Human_Practice:after { | ||
background: url("https://cdn3.iconfinder.com/data/icons/social-media-2026/60/Socialmedia_icons_Facebook-128.png") no-repeat center; | background: url("https://cdn3.iconfinder.com/data/icons/social-media-2026/60/Socialmedia_icons_Facebook-128.png") no-repeat center; | ||
} | } | ||
+ | |||
.side-button.Team::before { | .side-button.Team::before { | ||
Line 721: | Line 738: | ||
break; | break; | ||
case "4": //Human Practices | case "4": //Human Practices | ||
− | side[0].classList.add(" | + | |
+ | side[0].classList.add("Collaborations"); | ||
side[0].onclick = function() { | side[0].onclick = function() { | ||
+ | location.href = "https://2018.igem.org/Team:NTHU_Formosa/Collaborations"; | ||
+ | }; | ||
+ | side[1].classList.add("Public_Engagement"); | ||
+ | side[1].onclick = function() { | ||
+ | location.href = "https://2018.igem.org/Team:NTHU_Formosa/Public_Engagement"; | ||
+ | }; | ||
+ | side[2].classList.add("Integrated_Human_Practice"); | ||
+ | side[2].onclick = function() { | ||
location.href = "https://2018.igem.org/Team:NTHU_Formosa/Human_Practices"; | location.href = "https://2018.igem.org/Team:NTHU_Formosa/Human_Practices"; | ||
}; | }; | ||
− | + | side[3].classList.add(""); | |
− | side[ | + | side[3].onclick = function() { |
− | + | location.href = ""; | |
+ | }; | ||
+ | |||
break; | break; | ||
case "5": //About us | case "5": //About us |
Revision as of 14:25, 16 October 2018