Template:CSS/UT-Tokyo/Counter/Contents
From 2014.igem.org
(Difference between revisions)
Pineappler (Talk | contribs) |
Pineappler (Talk | contribs) |
||
Line 532: | Line 532: | ||
} | } | ||
+ | var box = document.getElementsByClassName("pageContentsBox"); | ||
+ | var pc = document.getElementById("pageContents"); | ||
if(str == "Project-block"){ | if(str == "Project-block"){ | ||
- | |||
- | |||
box[0].style.height = "12300px"; | box[0].style.height = "12300px"; | ||
pc.style.height = "12250px"; | pc.style.height = "12250px"; | ||
}else if(str == "Modeling-block"){ | }else if(str == "Modeling-block"){ | ||
- | |||
- | |||
box[0].style.height = "18000px"; | box[0].style.height = "18000px"; | ||
pc.style.height = "17950px"; | pc.style.height = "17950px"; | ||
+ | }else if(str == "Attribution-block"){ | ||
+ | box[0].style.height = "3000px"; | ||
+ | pc.style.height = "2950px"; | ||
}else if(str == "Team-top"){ | }else if(str == "Team-top"){ | ||
- | |||
- | |||
box[0].style.height = "1900px"; | box[0].style.height = "1900px"; | ||
pc.style.height = "1850px"; | pc.style.height = "1850px"; |