Team:NTNU Trondheim/Test
From 2012.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
- | + | {{:Team:NTNU_Trondheim/Templates/Header}} | |
- | + | </div> | |
+ | |||
+ | <html> | ||
+ | |||
<head> | <head> | ||
- | < | + | |
- | + | <script type="text/javascript"> | |
+ | var fixed_menu_hidden = true; | ||
+ | function dtbaker_scroll(){ | ||
+ | var scrollTop = $(window).scrollTop(); | ||
+ | if(scrollTop>80){ | ||
+ | if(fixed_menu_hidden){ | ||
+ | $('#fixednav').fadeIn(); | ||
+ | fixed_menu_hidden = false; | ||
+ | } | ||
+ | }else{ | ||
+ | $('#fixednav').fadeOut(); | ||
+ | fixed_menu_hidden = true; | ||
+ | } | ||
+ | } | ||
+ | window.onscroll = dtbaker_scroll; | ||
+ | $(function(){ | ||
+ | $('body').prepend('<div id="fixednav"><div></div></div>'); | ||
+ | $('#fixednav div').html($('#navigation ul').clone()); | ||
+ | }); | ||
+ | </script> | ||
+ | <style type="text/css"> | ||
+ | #fixednav{ | ||
+ | position:fixed; | ||
+ | left:0; | ||
+ | right:0; | ||
+ | top:0; | ||
+ | height:39px; | ||
+ | background:#13B8D6; | ||
+ | display:none; | ||
+ | z-index:300; | ||
+ | } | ||
+ | #fixednav div{ | ||
+ | width:994px; | ||
+ | margin:0 auto; | ||
+ | } | ||
+ | #fixednav ul{ | ||
+ | list-style:none; | ||
+ | margin:0 0 0 110px; | ||
+ | padding:0; | ||
+ | } | ||
+ | #fixednav ul li{ | ||
+ | list-style:none; | ||
+ | margin:0; | ||
+ | padding:0; | ||
+ | float:left; | ||
+ | } | ||
+ | #fixednav ul li a{ | ||
+ | display:block; | ||
+ | margin:0; | ||
+ | padding:12px 13px 8px 13px; | ||
+ | float:left; | ||
+ | height:19px; | ||
+ | border-left:1px solid #84daea; | ||
+ | border-right:1px solid #15a1bb; | ||
+ | font-family: Cuprum, Helvetica, 'Helvetica Neue', arial; | ||
+ | font-size: 1.4em; | ||
+ | text-transform:uppercase; | ||
+ | text-decoration:none; | ||
+ | color:#FFF; | ||
+ | } | ||
+ | #fixednav ul li a.selected{ | ||
+ | height:24px !important; | ||
+ | background:#15a1bb url('/new/images/menu_arrow_down.gif') no-repeat center bottom !important; | ||
+ | border-right:none; | ||
+ | border-left:none; | ||
+ | padding-left:14px; | ||
+ | padding-right:14px; | ||
+ | } | ||
+ | #fixednav ul li a:hover{ | ||
+ | background:#15a1bb; | ||
+ | height:19px; | ||
+ | text-decoration:underline; | ||
+ | } | ||
+ | #fixednav ul li.first a{ | ||
+ | border-left:none; | ||
+ | padding-left:14px; | ||
+ | } | ||
+ | #fixednav ul li.last a{ | ||
+ | border-right:none; | ||
+ | padding-right:14px; | ||
+ | } | ||
+ | </style> | ||
+ | |||
</head> | </head> | ||
- | < | + | |
- | <iframe | + | <div id="main"> |
+ | <!-- | ||
+ | <div id="buttons"> | ||
+ | <a href="https://2012.igem.org/Team:NTNU_Trondheim/Project"><button class="punch" id="projectButton">Project</button></a> | ||
+ | <a href="https://2012.igem.org/Team:NTNU_Trondheim/Results"><button class="punch" id="resultsButton">Results</button></a> | ||
+ | <a href="https://2012.igem.org/Team:NTNU_Trondheim/Data"><button class="punch" id="dataButton">Data</button></a> | ||
+ | </div> | ||
+ | --> | ||
+ | |||
+ | <h1>Welcome to our wiki!</h1> | ||
+ | <p>This year the NTNU iGEM team is bent on cancer destruction by means of exploding bacteria. Here's a sketch of our basic plan for the genetic circuit:</p> | ||
+ | |||
+ | <img src="https://static.igem.org/mediawiki/2012/3/3a/Genetisk_krets.png" width="500px;"/> | ||
+ | |||
+ | <p>Check out the <a href="https://2012.igem.org/Team:NTNU_Trondheim/Project">project</a> section if you want to read more. | ||
+ | Please note that the wiki is under construction. Content will be updated continously over the course of the summer, so stay | ||
+ | tuned for the best synthetic biology action Trondheim has to offer!</p> | ||
+ | |||
+ | <p>In the meantime, why not enjoy some classic entertainment:</p> | ||
+ | |||
+ | <iframe width="560" height="315" src="http://www.youtube.com/embed/x5yPkxCLads" frameborder="0" allowfullscreen></iframe> | ||
+ | </div> | ||
+ | |||
+ | <div id="sidebar"> | ||
+ | |||
+ | <p style="text-align: center;">Countdown to the <a href="https://2012.igem.org/Regions/Europe/Jamboree" target="_blank">European jamboree</a>: | ||
+ | <div id="jamboreeCountdown" style="width:200px;float:right;position:relative;right:50px;"></div><br /><br /><br/> | ||
+ | |||
+ | <div style="padding: 0 0 0 10px; text-align:center;"> | ||
+ | <script charset="utf-8" src="http://widgets.twimg.com/j/2/widget.js"></script> | ||
+ | <script> | ||
+ | new TWTR.Widget({ | ||
+ | version: 2, | ||
+ | type: 'profile', | ||
+ | rpp: 4, | ||
+ | interval: 30000, | ||
+ | width: 280, | ||
+ | height: 300, | ||
+ | theme: { | ||
+ | shell: { | ||
+ | background: '#515151', | ||
+ | color: '#ffffff' | ||
+ | }, | ||
+ | tweets: { | ||
+ | background: '#000000', | ||
+ | color: '#ffffff', | ||
+ | links: '#53db50' | ||
+ | } | ||
+ | }, | ||
+ | features: { | ||
+ | scrollbar: false, | ||
+ | loop: false, | ||
+ | live: false, | ||
+ | behavior: 'all' | ||
+ | } | ||
+ | }).render().setUser('iGEM_NTNU').start(); | ||
+ | </script> | ||
+ | </div> | ||
+ | <br/> | ||
+ | <div style="padding: 0 0 0 5px;" class="fb-like-box" data-href="http://www.facebook.com/ntnuigem" data-width="292" data-show-faces="true" data-border-color="#ffffff" data-stream="false" data-header="false"></div> | ||
+ | <br/><br/> | ||
+ | </div> | ||
+ | |||
+ | <div id="bottom"> | ||
+ | <h1>Our sponsors:</h1> | ||
+ | <p><a href="http://www.ntnu.edu/bioinformatics/pbi" target="_blank"><img src="http://folk.ntnu.no/oyas/igem/images/ntnu_bioinformatics_logo.png" /></a></p> | ||
+ | </div> | ||
+ | |||
+ | |||
+ | |||
</body> | </body> | ||
</html> | </html> |
Revision as of 10:21, 23 July 2012