Team:ETH Zurich/Templates/HeaderNew
From 2011.igem.org
(Difference between revisions)
Line 6: | Line 6: | ||
<link rel="stylesheet" href="https://2011.igem.org/Team:ETH_Zurich/Templates/StyleSheetNew?action=raw&ctype=text/css" type="text/css" /> | <link rel="stylesheet" href="https://2011.igem.org/Team:ETH_Zurich/Templates/StyleSheetNew?action=raw&ctype=text/css" type="text/css" /> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
+ | /* Mediawiki Links: Incorporate into our design on our own terms! */ | ||
$(document).ready( function() | $(document).ready( function() | ||
{ | { | ||
$(function() | $(function() | ||
{ | { | ||
- | |||
- | |||
- | |||
- | |||
if ($('#pt-logout').length) | if ($('#pt-logout').length) | ||
{ | { | ||
Line 25: | Line 22: | ||
else | else | ||
{ | { | ||
- | $('#loginLink').get(0).href | + | $('#loginLink').attr('href', $('#pt-login a').get(0).href); |
} | } | ||
}); | }); | ||
}); | }); | ||
- | |||
</script> | </script> | ||