Template:CSS/UT-Tokyo/Counter/Contents

From 2014.igem.org

(Difference between revisions)
Line 478: Line 478:
}
}
-
function loadContent(cont,link,height){
+
function loadContent(cont,link,inner){
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"){
Line 492: Line 492:
var tmp;
var tmp;
if(getUrlVars()["page"]){
if(getUrlVars()["page"]){
-
tmp = getUrlVars()["page"];
+
if(innner != 1){
 +
tmp = getUrlVars()["page"];
 +
}else{
 +
tmp = "Project-block";
 +
}
}else{
}else{
tmp = "Project-block";
tmp = "Project-block";
Line 514: Line 518:
if(typeof cont === "undefined"){
if(typeof cont === "undefined"){
if(getUrlVars()["page"]){
if(getUrlVars()["page"]){
-
var str = getUrlVars()["page"];
+
if(inner != 1){
 +
var str = getUrlVars()["page"];
 +
}else{
 +
var str = "Project-block";
 +
}
}else{
}else{
var str = "Project-block";
var str = "Project-block";

Revision as of 06:52, 12 October 2014