Team:ETH Zurich/Templates/HeaderNew

From 2011.igem.org

(Difference between revisions)
Line 35: Line 35:
else
else
{
{
-
// Page
 
-
var page = document.URL;
 
-
var a = document.createElement('a');
 
-
a.href = document.URL;
 
-
var docPath = a.pathname + a.search;
 
$('#loginLink').get(0).href = 'https://2011.igem.org/wiki/index.php?title=Special:UserLogin&returnto=' + encodeURIComponent(docPath);
$('#loginLink').get(0).href = 'https://2011.igem.org/wiki/index.php?title=Special:UserLogin&returnto=' + encodeURIComponent(docPath);
}
}

Revision as of 12:02, 17 October 2011

Menu image preload Menu image preload Menu image preload Menu image preload Menu image preload Menu image preload