(9 intermediate revisions by 3 users not shown) | |||
Line 361: | Line 361: | ||
#section4 { | #section4 { | ||
− | background-image: url(https://static.igem.org/mediawiki/2018/ | + | background-image: url(https://static.igem.org/mediawiki/2018/4/4f/T--NTHU_Formosa--HP.png); |
background-size: cover; | background-size: cover; | ||
} | } | ||
#section5 { | #section5 { | ||
− | background-image: url(https://static.igem.org/mediawiki/2018/ | + | background-image: url(https://static.igem.org/mediawiki/2018/8/84/T--NTHU_Formosa--%E6%9C%AA%E5%91%BD%E5%90%8D-3.png); |
background-size: cover; | background-size: cover; | ||
} | } | ||
Line 427: | Line 427: | ||
position: fixed; | position: fixed; | ||
/* Initial Width */ | /* Initial Width */ | ||
− | width: | + | width: 100px; |
top: 0; | top: 0; | ||
bottom: 0; | bottom: 0; | ||
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 protease"; | ||
+ | } | ||
+ | |||
+ | .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/Biomarker"; | ||
+ | }; | ||
+ | side[1].classList.add("Nanobody"); | ||
+ | side[1].onclick = function() { | ||
+ | location.href = "https://2018.igem.org/Team:NTHU_Formosa/Nanobody"; | ||
+ | }; | ||
+ | side[2].classList.add("TEV"); | ||
+ | side[2].onclick = function() { | ||
+ | location.href = "https://2018.igem.org/Team:NTHU_Formosa/TEV_protease"; | ||
+ | }; | ||
+ | side[3].classList.add("Bioluminescence"); | ||
+ | side[3].onclick = function() { | ||
+ | location.href = "https://2018.igem.org/Team:NTHU_Formosa/Bioluminescence"; | ||
+ | }; | ||
break; | break; | ||
case "1": //Project | case "1": //Project | ||
Line 731: | Line 786: | ||
}; | }; | ||
break; | break; | ||
− | case "3 | + | |
− | + | case "3": //Human Practices | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
side[0].classList.add("Collaborations"); | side[0].classList.add("Collaborations"); | ||
Line 757: | Line 807: | ||
break; | break; | ||
− | case " | + | case "4": //About us |
side[0].classList.add("Team"); | side[0].classList.add("Team"); | ||
side[0].onclick = function() { | side[0].onclick = function() { | ||
Line 797: | Line 847: | ||
"https://static.igem.org/mediawiki/2018/8/88/T--NTHU_Formosa--cell2.png", | "https://static.igem.org/mediawiki/2018/8/88/T--NTHU_Formosa--cell2.png", | ||
"https://static.igem.org/mediawiki/2018/b/be/T--NTHU_Formosa--cell3.png", | "https://static.igem.org/mediawiki/2018/b/be/T--NTHU_Formosa--cell3.png", | ||
− | "https://static.igem.org/mediawiki/2018/ | + | "https://static.igem.org/mediawiki/2018/0/0f/T--NTHU_Formosa--%E7%B4%B0%E8%83%9E5.png" |
]; | ]; | ||
Line 809: | Line 859: | ||
} | } | ||
</script> | </script> | ||
+ | |||
+ | |||
+ | |||
+ | |||
<!-- Section 1 --> | <!-- Section 1 --> | ||
Line 819: | Line 873: | ||
<!-- Section 3 --> | <!-- Section 3 --> | ||
− | + | ||
− | + | ||
<!-- Section 4 --> | <!-- Section 4 --> | ||
Line 839: | Line 892: | ||
var myFullpage = new fullpage('#fullpage', { | var myFullpage = new fullpage('#fullpage', { | ||
anchors: ['0', '1', '2', '3', '4', '5'], | anchors: ['0', '1', '2', '3', '4', '5'], | ||
− | sectionsColor: ['# | + | sectionsColor: ['#000000', '#1BBC9B', '#7E8F7C'], |
css3: true, | css3: true, | ||
licenseKey: "OPEN-SOURCE-GPLV3-LICENSE", | licenseKey: "OPEN-SOURCE-GPLV3-LICENSE", |
Latest revision as of 00:36, 18 October 2018