Template:CSS/UT-Tokyo/Counter/Contents
From 2014.igem.org
(Difference between revisions)
Pineappler (Talk | contribs) |
Pineappler (Talk | contribs) |
||
Line 478: | Line 478: | ||
} | } | ||
- | function loadContent(cont,link, | + | 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"; |