Tommyrpg1010 (Talk | contribs) |
Tommyrpg1010 (Talk | contribs) |
||
Line 298: | Line 298: | ||
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.Results::before { | |
− | + | content: "Results"; | |
− | + | } | |
− | + | .side-button.Results:after { | |
− | + | background: url("https://cdn3.iconfinder.com/data/icons/social-media-2026/60/Socialmedia_icons_Facebook-128.png") no-repeat center; | |
− | + | } | |
− | + | ||
− | + | ||
− | }); | + | .side-button.Parts::before { |
− | + | content: "Parts and Components"; | |
+ | } | ||
+ | |||
+ | .side-button.Parts:after { | ||
+ | background: url("https://cdn3.iconfinder.com/data/icons/social-media-2026/60/Socialmedia_icons_Facebook-128.png") no-repeat center; | ||
+ | } | ||
+ | |||
+ | .side-button.Notebook::before { | ||
+ | content: "Notebook"; | ||
+ | } | ||
+ | |||
+ | .side-button.Notebook:after { | ||
+ | background: url("https://cdn3.iconfinder.com/data/icons/social-media-2026/60/Socialmedia_icons_Facebook-128.png") no-repeat center; | ||
+ | } | ||
+ | |||
+ | .side-button.InterLab::before { | ||
+ | content: "InterLab"; | ||
+ | } | ||
+ | |||
+ | .side-button.InterLab:after { | ||
+ | background: url("https://cdn3.iconfinder.com/data/icons/social-media-2026/60/Socialmedia_icons_Facebook-128.png") no-repeat center; | ||
+ | } | ||
+ | |||
+ | .side-button.Human_Practices::before { | ||
+ | content: "Human Practices"; | ||
+ | } | ||
+ | |||
+ | .side-button.Human_Practices:after { | ||
+ | background: url("https://cdn3.iconfinder.com/data/icons/social-media-2026/60/Socialmedia_icons_Facebook-128.png") no-repeat center; | ||
+ | } | ||
+ | |||
+ | .side-button.Team::before { | ||
+ | content: "Team Members"; | ||
+ | } | ||
+ | |||
+ | .side-button.Team:after { | ||
+ | background: url("https://cdn3.iconfinder.com/data/icons/social-media-2026/60/Socialmedia_icons_Facebook-128.png") no-repeat center; | ||
+ | } | ||
+ | |||
+ | .side-button.Sponsor::before { | ||
+ | content: "Sponsors"; | ||
+ | } | ||
+ | |||
+ | .side-button.Sponsor:after { | ||
+ | background: url("https://cdn3.iconfinder.com/data/icons/social-media-2026/60/Socialmedia_icons_Facebook-128.png") no-repeat center; | ||
+ | } | ||
+ | |||
+ | .side-button.Attributions::before { | ||
+ | content: "Attributions"; | ||
+ | } | ||
+ | |||
+ | .side-button.Attributions:after { | ||
+ | background: url("https://cdn3.iconfinder.com/data/icons/social-media-2026/60/Socialmedia_icons_Facebook-128.png") no-repeat center; | ||
+ | } | ||
+ | |||
+ | .side-button.Judging::before { | ||
+ | content: "Judging Form"; | ||
+ | } | ||
+ | |||
+ | .side-button.Judging:after { | ||
+ | background: url("https://cdn3.iconfinder.com/data/icons/social-media-2026/60/Socialmedia_icons_Facebook-128.png") no-repeat center; | ||
+ | } | ||
+ | </style> | ||
</head> | </head> | ||
Line 319: | Line 378: | ||
<div class="side-bar"> | <div class="side-bar"> | ||
<div class="side-container top"> | <div class="side-container top"> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
<div class="side-container middle"> | <div class="side-container middle"> | ||
Line 354: | Line 406: | ||
// Add the corresponding class | // Add the corresponding class | ||
switch (anchor) { | switch (anchor) { | ||
− | case "0": | + | case "0": // Interactice cell ? |
case "1": //Project | case "1": //Project | ||
side[0].classList.add("Introduction"); | side[0].classList.add("Introduction"); | ||
Line 375: | Line 427: | ||
case "2": //Demonstrate | case "2": //Demonstrate | ||
side[0].classList.add("Results"); | side[0].classList.add("Results"); | ||
+ | side[0].onclick = function() { | ||
+ | location.href = "https://2018.igem.org/Team:NTHU_Formosa/Results"; | ||
+ | }; | ||
side[1].classList.add("Parts"); | side[1].classList.add("Parts"); | ||
+ | side[1].onclick = function() { | ||
+ | location.href = "https://2018.igem.org/Team:NTHU_Formosa/Parts"; | ||
+ | }; | ||
side[2].classList.add("Notebook"); | side[2].classList.add("Notebook"); | ||
+ | side[2].onclick = function() { | ||
+ | location.href = "https://2018.igem.org/Team:NTHU_Formosa/Notebook"; | ||
+ | }; | ||
side[3].classList.add("InterLab"); | side[3].classList.add("InterLab"); | ||
+ | side[3].onclick = function() { | ||
+ | location.href = "https://2018.igem.org/Team:NTHU_Formosa/InterLab"; | ||
+ | }; | ||
break; | break; | ||
case "3": //Modeling | case "3": //Modeling | ||
Line 386: | Line 450: | ||
break; | break; | ||
case "4": //Human Practices | case "4": //Human Practices | ||
− | side[0].classList.add(""); | + | side[0].classList.add("Human_Practices"); |
+ | side[0].onclick = function() { | ||
+ | location.href = "https://2018.igem.org/Team:NTHU_Formosa/Human_Practices"; | ||
+ | }; | ||
side[1].classList.add(""); | side[1].classList.add(""); | ||
side[2].classList.add(""); | side[2].classList.add(""); | ||
Line 392: | Line 459: | ||
break; | break; | ||
case "5": //About us | case "5": //About us | ||
− | side[0].classList.add(""); | + | side[0].classList.add("Team"); |
− | side[1].classList.add(""); | + | side[0].onclick = function() { |
− | side[2].classList.add(""); | + | location.href = "https://2018.igem.org/Team:NTHU_Formosa/Team"; |
− | side[3].classList.add(""); | + | }; |
+ | side[1].classList.add("Sponsor"); | ||
+ | side[1].onclick = function() { | ||
+ | location.href = "https://2018.igem.org/Team:NTHU_Formosa/Sponsor"; | ||
+ | }; | ||
+ | side[2].classList.add("Attributions"); | ||
+ | side[2].onclick = function() { | ||
+ | location.href = "https://2018.igem.org/Team:NTHU_Formosa/Attributions"; | ||
+ | }; | ||
+ | side[3].classList.add("Judging"); | ||
+ | side[3].onclick = function() { | ||
+ | location.href = "https://igem.org/2018_Judging_Form?team=NTHU_Formosa"; | ||
+ | }; | ||
break; | break; | ||
} | } | ||
− | |||
} | } | ||
} | } | ||
− | |||
− | |||
</script> | </script> | ||
Line 415: | Line 491: | ||
<!-- Section 1 --> | <!-- Section 1 --> | ||
<div class="section" id="section1"> | <div class="section" id="section1"> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
<!-- Section 2 --> | <!-- Section 2 --> | ||
<div class="section" id="section2"> | <div class="section" id="section2"> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
<!-- Section 3 --> | <!-- Section 3 --> | ||
<div class="section" id="section3"> | <div class="section" id="section3"> | ||
− | |||
− | |||
</div> | </div> | ||
<!-- Section 4 --> | <!-- Section 4 --> | ||
<div class="section" id="section4"> | <div class="section" id="section4"> | ||
− | |||
− | |||
</div> | </div> | ||
<!-- Section 5 --> | <!-- Section 5 --> | ||
<div class="section" id="section5"> | <div class="section" id="section5"> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
Revision as of 05:35, 10 October 2018
Interactive Cell