Template:CSS/UT-Tokyo/CTCD/Contents
From 2014.igem.org
(Difference between revisions)
Pineappler (Talk | contribs) |
Pineappler (Talk | contribs) |
||
Line 657: | Line 657: | ||
var pc = document.getElementById("pageContents"); | var pc = document.getElementById("pageContents"); | ||
if(str == "Project-block"){ | if(str == "Project-block"){ | ||
- | box[0].style.height = " | + | box[0].style.height = "4100px"; |
- | pc.style.height = " | + | pc.style.height = "4050px"; |
+ | }else if(str == "Result-block"){ | ||
+ | box[0].style.height = "1400px"; | ||
+ | pc.style.height = "1350px"; | ||
+ | }else if(str == "Lab-block"){ | ||
+ | box[0].style.height = "112400px"; | ||
+ | pc.style.height = "112350px"; | ||
}else if(str == "Modeling-block"){ | }else if(str == "Modeling-block"){ | ||
- | box[0].style.height = " | + | box[0].style.height = "1300px"; |
- | pc.style.height = " | + | pc.style.height = "1250px"; |
- | }else if(str == " | + | }else if(str == "Achievement-block"){ |
- | box[0].style.height = " | + | box[0].style.height = "1600px"; |
- | pc.style.height = " | + | pc.style.height = "1550px"; |
}else if(str == "Safety-block"){ | }else if(str == "Safety-block"){ | ||
- | box[0].style.height = " | + | box[0].style.height = "2700px"; |
- | pc.style.height = " | + | pc.style.height = "2650px"; |
+ | }else if(str == "Attribution-block"){ | ||
+ | box[0].style.height = "5000px"; | ||
+ | pc.style.height = "4950px"; | ||
+ | }else if(str == "Humanpractice-block"){ | ||
+ | box[0].style.height = "9650px"; | ||
+ | pc.style.height = "9600px"; | ||
}else if(str == "Team-top"){ | }else if(str == "Team-top"){ | ||
- | box[0].style.height = " | + | box[0].style.height = "2500px"; |
- | pc.style.height = " | + | pc.style.height = "2450px"; |
} | } | ||
loading.style.display = "none"; | loading.style.display = "none"; |
Revision as of 02:53, 18 October 2014