Template:CSS/UT-Tokyo/Counter/Contents

From 2014.igem.org

(Difference between revisions)
Line 673: Line 673:
pc.style.height = "35950px";
pc.style.height = "35950px";
}else if(str == "Attribution-block"){
}else if(str == "Attribution-block"){
 +
box[0].style.height = "30000px";
 +
pc.style.height = "29950px";
 +
}else if(str == "Lab-block"){
box[0].style.height = "30000px";
box[0].style.height = "30000px";
pc.style.height = "29950px";
pc.style.height = "29950px";
Line 807: Line 810:
$("#contentsBody").mCustomScrollbar("scrollTo","top");
$("#contentsBody").mCustomScrollbar("scrollTo","top");
}
}
 +
function linkDate(jump){
 +
var href = "#" + jump;
 +
var target = $(href);
 +
$("#contentsBody").mCustomScrollbar("scrollTo",target);
 +
}
 +
</script>
</script>
<script>
<script>

Revision as of 20:43, 17 October 2014