Team:Warsaw/Templates/2014Page
From 2014.igem.org
(Difference between revisions)
Line 92: | Line 92: | ||
padding-left: 60px; | padding-left: 60px; | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
+ | z-index: 10; | ||
} | } | ||
Line 145: | Line 146: | ||
ul.main-menu > li > ul > li { | ul.main-menu > li > ul > li { | ||
display: block; | display: block; | ||
- | + | height: auto; | |
} | } | ||
/* Links */ | /* Links */ | ||
Line 225: | Line 226: | ||
} | } | ||
} | } | ||
+ | } | ||
+ | |||
+ | function changeAndGo(lang) { | ||
+ | document.cookie='lang=' + lang; | ||
+ | applyLanguage(); | ||
+ | location.href='https://2014.igem.org/Team:Warsaw'; | ||
} | } | ||
</script> | </script> | ||
Line 232: | Line 239: | ||
<ul class="flags"> | <ul class="flags"> | ||
<li style="background-image: url('https://static.igem.org/mediawiki/2014/f/fb/2014-iGEM-site-flag-pl.png')" | <li style="background-image: url('https://static.igem.org/mediawiki/2014/f/fb/2014-iGEM-site-flag-pl.png')" | ||
- | onclick=" | + | onclick="changeAndGo('pl');"></li> |
<li style="background-image: url('https://static.igem.org/mediawiki/2014/4/48/2014-iGEM-site-flag-en.png')" | <li style="background-image: url('https://static.igem.org/mediawiki/2014/4/48/2014-iGEM-site-flag-en.png')" | ||
- | onclick=" | + | onclick="changeAndGo('en');"></li> |
<li style="background-image: url('https://static.igem.org/mediawiki/2014/5/5e/2014-iGEM-site-flag-fr.png')" | <li style="background-image: url('https://static.igem.org/mediawiki/2014/5/5e/2014-iGEM-site-flag-fr.png')" | ||
- | onclick=" | + | onclick="changeAndGo('fr');"></li> |
<li style="background-image: url('https://static.igem.org/mediawiki/2014/c/c9/2014-iGEM-site-flag-ne.png')" | <li style="background-image: url('https://static.igem.org/mediawiki/2014/c/c9/2014-iGEM-site-flag-ne.png')" | ||
- | onclick=" | + | onclick="changeAndGo('ne');"></li> |
</ul> | </ul> | ||
<div class="celulare-logo"></div> | <div class="celulare-logo"></div> |
Revision as of 05:48, 13 October 2014