Template:CSS/UT-Tokyo/Counter/Contents

From 2014.igem.org

(Difference between revisions)
Line 481: Line 481:
document.title = "σ-Re Counter | UT-Tokyo 2014";
document.title = "σ-Re Counter | UT-Tokyo 2014";
-
if(typeof cont != "undefined"){
+
if(typeof cont !== "undefined"){
if(cont != "Team-top"){
if(cont != "Team-top"){
var op = cont.replace("-block","");
var op = cont.replace("-block","");
Line 544: Line 544:
$("#contentsBody").mCustomScrollbar("scrollTo",target);
$("#contentsBody").mCustomScrollbar("scrollTo",target);
}else{
}else{
 +
alert(getUrlVars()["cont"]);
if(typeof getUrlVars()["cont"] !== "undefined"){
if(typeof getUrlVars()["cont"] !== "undefined"){
var href = "#" + getUrlVars()["cont"];
var href = "#" + getUrlVars()["cont"];

Revision as of 07:13, 12 October 2014