Team:ETH Zurich/Templates/HeaderNew

From 2011.igem.org

(Difference between revisions)
Line 35: Line 35:
a.href = document.URL;
a.href = document.URL;
var docPath = a.pathname + a.search;
var docPath = a.pathname + a.search;
-
$('#loginLink').get(0).href = 'https://2011.igem.org/wiki/index.php?title=Special:UserLogin&returnto=' + encodeURIComponent(docPath);
+
        document.getElementById("loginLink").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 21:46, 15 October 2011

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