Line 534: | Line 534: | ||
background: url("https://cdn3.iconfinder.com/data/icons/social-media-2026/60/Socialmedia_icons_Facebook-128.png") no-repeat center; margin-left:auto;margin-right:auto;width:10%;" | background: url("https://cdn3.iconfinder.com/data/icons/social-media-2026/60/Socialmedia_icons_Facebook-128.png") no-repeat center; margin-left:auto;margin-right:auto;width:10%;" | ||
} | } | ||
+ | |||
+ | |||
+ | |||
+ | .side-button.Biomarker::before { | ||
+ | content: "Biomarker"; | ||
+ | } | ||
+ | |||
+ | .side-button.Biomarker:after { | ||
+ | background: url("https://static.igem.org/mediawiki/2018/8/86/T--NTHU_Formosa--icon_biomar.png") no-repeat center; | ||
+ | } | ||
+ | .side-button.Nanobody::before { | ||
+ | content: "Nanobody"; | ||
+ | } | ||
+ | |||
+ | .side-button.Nanobody:after { | ||
+ | background: url("https://static.igem.org/mediawiki/2018/0/0e/T--NTHU_Formosa--icon_nanobody.png") no-repeat center; | ||
+ | } | ||
+ | .side-button.TEV::before { | ||
+ | content: "TEV"; | ||
+ | } | ||
+ | |||
+ | .side-button.TEV:after { | ||
+ | background: url("https://static.igem.org/mediawiki/2018/6/6f/T--NTHU_Formosa--icon_TEV.png") no-repeat center; | ||
+ | } | ||
+ | .side-button.Bioluminescence::before { | ||
+ | content: "Bioluminescence"; | ||
+ | } | ||
+ | |||
+ | .side-button.Bioluminescence:after { | ||
+ | background: url("https://static.igem.org/mediawiki/2018/e/e5/T--NTHU_Formosa--icon_biolu.png") no-repeat center; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
.side-button.Introduction::before { | .side-button.Introduction::before { | ||
Line 693: | Line 731: | ||
// Add the corresponding class | // Add the corresponding class | ||
switch (anchor) { | switch (anchor) { | ||
− | case "0": // Interactice cell | + | |
+ | case "0": //Interactice cell | ||
+ | side[0].classList.add("Biomarker"); | ||
+ | side[0].onclick = function() { | ||
+ | location.href = "https://2018.igem.org/Team:NTHU_Formosa/Results"; | ||
+ | }; | ||
+ | side[1].classList.add("Nanobody"); | ||
+ | side[1].onclick = function() { | ||
+ | location.href = "https://2018.igem.org/Team:NTHU_Formosa/Parts"; | ||
+ | }; | ||
+ | side[2].classList.add("TEV"); | ||
+ | side[2].onclick = function() { | ||
+ | location.href = "https://2018.igem.org/Team:NTHU_Formosa/Notebook"; | ||
+ | }; | ||
+ | side[3].classList.add("Bioluminescence"); | ||
+ | side[3].onclick = function() { | ||
+ | location.href = "https://2018.igem.org/Team:NTHU_Formosa/InterLab"; | ||
+ | }; | ||
break; | break; | ||
case "1": //Project | case "1": //Project | ||
Line 809: | Line 864: | ||
} | } | ||
</script> | </script> | ||
+ | |||
+ | |||
+ | |||
+ | |||
<!-- Section 1 --> | <!-- Section 1 --> |
Revision as of 11:28, 17 October 2018