Template:CSS/UT-Tokyo/Counter/Contents

From 2014.igem.org

(Difference between revisions)
Line 536: Line 536:
scrollTop: 0
scrollTop: 0
}, 300);
}, 300);
 +
var loading = document.getElementById("loading-img");
var loading = document.getElementById("loading-img");
 +
loading.style.display = "block";
loading.style.display = "block";
Line 615: Line 617:
}
}
});
});
-
 
+
hoge = 1;
 +
}else{
 +
hoge = 1;
}
}
var box = document.getElementsByClassName("pageContentsBox");
var box = document.getElementsByClassName("pageContentsBox");
Line 649: Line 653:
var hoge = 0;
var hoge = 0;
var huga = setInterval(function(){
var huga = setInterval(function(){
 +
if(hoge == 1){
if(typeof link !== "undefined"){
if(typeof link !== "undefined"){
if(link == "top"){
if(link == "top"){
Line 672: Line 677:
}
}
}
}
 +
}
},500);
},500);
var team = document.getElementById("Team-top");
var team = document.getElementById("Team-top");

Revision as of 16:01, 17 October 2014