Team:Warsaw/Templates/2014Page
From 2014.igem.org
(Difference between revisions)
(18 intermediate revisions not shown) | |||
Line 12: | Line 12: | ||
/* Wiki hacks */ | /* Wiki hacks */ | ||
- | #top | + | |
+ | #top { | ||
display: none !important; | display: none !important; | ||
} | } | ||
- | #top { | + | #top-section { |
- | + | height: 20px !important; | |
+ | border: none !important; | ||
+ | } | ||
+ | #menubar, | ||
+ | #menubar:hover { | ||
+ | background: none !important; | ||
+ | } | ||
+ | #menubar ul li a { | ||
+ | color: #234887 !important; | ||
+ | } | ||
+ | .right-menu li a { | ||
+ | background: none !important; | ||
} | } | ||
#content { | #content { | ||
Line 92: | Line 104: | ||
padding-left: 60px; | padding-left: 60px; | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
+ | z-index: 10; | ||
} | } | ||
Line 145: | Line 158: | ||
ul.main-menu > li > ul > li { | ul.main-menu > li > ul > li { | ||
display: block; | display: block; | ||
- | + | height: auto; | |
} | } | ||
/* Links */ | /* Links */ | ||
Line 197: | Line 210: | ||
<script> | <script> | ||
+ | function setCookie(cname, cvalue, exdays) { | ||
+ | var d = new Date(); | ||
+ | d.setTime(d.getTime() + (exdays*24*60*60*1000)); | ||
+ | var expires = "expires="+d.toUTCString(); | ||
+ | document.cookie = cname + "=" + cvalue + "; " + expires; | ||
+ | } | ||
+ | |||
function getCookie(cname) { | function getCookie(cname) { | ||
var name = cname + "="; | var name = cname + "="; | ||
Line 225: | Line 245: | ||
} | } | ||
} | } | ||
+ | } | ||
+ | |||
+ | function changeAndGo(lang) { | ||
+ | setCookie('lang', lang, 1); | ||
+ | applyLanguage(); | ||
+ | location.href='https://2014.igem.org/Team:Warsaw'; | ||
} | } | ||
</script> | </script> | ||
Line 230: | Line 256: | ||
<body onload="applyLanguage()"> | <body onload="applyLanguage()"> | ||
+ | <br><br> | ||
<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> | ||
Line 244: | Line 271: | ||
<!-- Menu items --> | <!-- Menu items --> | ||
<li> | <li> | ||
- | <a href=" | + | <a href="https://2014.igem.org/Team:Warsaw">Project</a> |
<ul> | <ul> | ||
- | <li><a href="/">Background</a></li> | + | <li><a href="https://2014.igem.org/Team:Warsaw/Project#background">Background</a></li> |
- | <li><a href="/">Proof of concept</a></li> | + | <li><a href="https://2014.igem.org/Team:Warsaw/Project#proof_of_concept">Proof of concept</a></li> |
- | <li><a href="/">Detailed explanation</li> | + | <li><a href="https://2014.igem.org/Team:Warsaw/Project#detailed_explanation">Detailed explanation</a></li> |
- | <li><a href="/">Modelling</a></li> | + | <li><a href="https://2014.igem.org/Team:Warsaw/Project#modelling">Modelling</a></li> |
- | <li><a href="/"> | + | <li><a href="https://2014.igem.org/Team:Warsaw/Project#weeestudy">WEEE study</a></li> |
- | <li><a href="/ | + | <li><a href="https://2014.igem.org/Team:Warsaw/Project#safety">Safety</a></li> |
- | + | <li><a href="https://2014.igem.org/Team:Warsaw/Project#possibilities_of_development">Possibilities of development</a> | |
- | <li><a href="/">Possibilities of development | + | |
</ul> | </ul> | ||
</li> | </li> | ||
Line 259: | Line 285: | ||
<a href="/Team:Warsaw/Achievements">Achievements</a> | <a href="/Team:Warsaw/Achievements">Achievements</a> | ||
<ul> | <ul> | ||
- | <li><a href="/">Parts</a></li> | + | <li><a href="https://2014.igem.org/Team:Warsaw/Achievements#parts">Parts</a></li> |
- | <li><a href="/">Results</a></li> | + | <li><a href="https://2014.igem.org/Team:Warsaw/Achievements#results">Results</a></li> |
- | <li><a href="/">Cooperation</a></li> | + | <li><a href="https://2014.igem.org/Team:Warsaw/Achievements#cooperation">Cooperation</a></li> |
- | <li><a href="/">Medal Criteria</a></li> | + | <li><a href="https://2014.igem.org/Team:Warsaw/Achievements#medal_criteria">Medal Criteria</a></li> |
+ | |||
</ul> | </ul> | ||
</li> | </li> | ||
Line 268: | Line 295: | ||
<a href="/Team:Warsaw/HP">HP</a> | <a href="/Team:Warsaw/HP">HP</a> | ||
<ul> | <ul> | ||
- | <li><a href="/">Overview</a></li> | + | <li><a href="https://2014.igem.org/Team:Warsaw/HP#overview">Overview</a></li> |
- | <li><a href="/">Lanthan Hospital</a></li> | + | <li><a href="https://2014.igem.org/Team:Warsaw/HP#lanthan_hospital">Lanthan Hospital</a></li> |
- | <li><a href="/">Science Festival</a></li> | + | <li><a href="https://2014.igem.org/Team:Warsaw/HP#science_festival">Science Festival</a></li> |
- | <li><a href="/">Media</a></li> | + | <li><a href="https://2014.igem.org/Team:Warsaw/HP#media">Media</a></li> |
</ul> | </ul> | ||
</li> | </li> | ||
Line 277: | Line 304: | ||
<a href="/Team:Warsaw/EXTRAS">EXTRAS</a> | <a href="/Team:Warsaw/EXTRAS">EXTRAS</a> | ||
<ul> | <ul> | ||
- | <li><a href="/">Bioprocess</a></li> | + | <li><a href="https://2014.igem.org/Team:Warsaw/EXTRAS#bioprocess">Bioprocess</a></li> |
- | <li><a href="/">Discussion</a></li> | + | <li><a href="https://2014.igem.org/Team:Warsaw/EXTRAS#discussion">Discussion</a></li> |
- | <li><a href="/ | + | <li><a href="https://2014.igem.org/Team:Warsaw/EXTRAS#alternative_methods">Alternative methods</a></li> |
- | + | <li><a href="https://2014.igem.org/Team:Warsaw/Notebook">Notebook</a></li> | |
- | <li><a href="/">Notebook</a></li> | + | <li><a href="https://2014.igem.org/Team:Warsaw/Protocoles">Protocoles</a></li> |
- | <li><a href="/">Protocoles</a></li> | + | |
Line 290: | Line 316: | ||
<a href="/Team:Warsaw/Team">Team</a> | <a href="/Team:Warsaw/Team">Team</a> | ||
<ul> | <ul> | ||
- | <li><a href="/">Members</a></li> | + | <li><a href="https://2014.igem.org/Team:Warsaw/Team#members">Members</a></li> |
- | <li><a href="/">Advisors</a></li> | + | <li><a href="https://2014.igem.org/Team:Warsaw/Team#advisors">Advisors</a></li> |
- | <li><a href="/">Sponsors</a></li> | + | <li><a href="https://2014.igem.org/Team:Warsaw/Team#sponsors">Sponsors</a></li> |
- | <li><a href="/">Acknowledgements</a></li> | + | <li><a href="https://2014.igem.org/Team:Warsaw/Team#acknowledgements">Acknowledgements</a></li> |
</ul> | </ul> | ||
</li> | </li> |
Latest revision as of 21:27, 17 October 2014