Difference between revisions of "Template:Toulouse/nav"
Line 1: | Line 1: | ||
{{Toulouse}} | {{Toulouse}} | ||
+ | <script> | ||
+ | var myurl = window.location.href; | ||
+ | var frenchLink = myurl+'_fr'; | ||
+ | document.getElementById('newUrl').href = frenchLink; | ||
+ | </script> | ||
<html> | <html> | ||
<div class="wrapper row0 fixed"> | <div class="wrapper row0 fixed"> | ||
Line 66: | Line 71: | ||
− | <li><a class="drop" href=" | + | <li><a class="drop" href="#" id="newUrl"><img src= "https://static.igem.org/mediawiki/2015/b/b5/TLSE_france.jpeg" /></a></li> |
Revision as of 13:38, 3 August 2015
<script> var myurl = window.location.href; var frenchLink = myurl+'_fr'; document.getElementById('newUrl').href = frenchLink; </script>