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