Team:UT-Tokyo/Template/Header

From 2012.igem.org

(Difference between revisions)
Line 89: Line 89:
function loc(){
function loc(){
-
var data2 = "aaaaa";
+
var data3 = location.href;
-
var data3 = "bbbbb";
+
-
var data1 = location.href.split("?")[1];
+
-
if(data1){
+
-
var data2 = data1.split("&")[0];
+
-
var data3 = data2.split("=")[1];}
+
-
// window.alert(data3);
+
   if(data3.match('Team:UT-Tokyo/?$')){ return "_0";}
   if(data3.match('Team:UT-Tokyo/?$')){ return "_0";}

Revision as of 14:55, 7 July 2012

{{{subpagename}}}