Template:Team:USTC Software/Header
From 2010.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
- | |||
<html> | <html> | ||
- | < | + | <link rel="stylesheet" type="text/css" href="http://casualconnect.net/iGEM/overall.css"> |
- | + | <script type="text/javascript" src="http://casualconnect.net/iGEM/jquery.easing.min.js"></script> | |
- | + | <script type="text/javascript" src="http://casualconnect.net/iGEM/jquery.address-1.2.1.min.js"></script> | |
- | + | <script type="text/javascript" src="http://casualconnect.net/iGEM/jquery.lavalamp.min.js"></script> | |
- | + | <script type="text/javascript"> | |
- | + | $(function() { | |
- | + | $(".current").removeClass("current"); | |
- | + | $('.lavaLampBottomStyle [rel='+$.address.value().substr(1) +']').parent().addClass("current"); | |
- | + | ||
- | + | var pages = ["home", "idea", "project", "notebook", "downloads","resources","human_practice","team"]; | |
- | + | $("#tabs").lavaLamp({ | |
- | + | fx: "backout", | |
- | < | + | speed: 700, |
- | <div | + | click: function(event, obj) { |
- | + | $.address.value($(obj).find('a').attr('rel')); | |
- | <div | + | if($("#home").length !== 0) { |
- | < | + | return false; |
+ | } | ||
+ | else { | ||
+ | return true; | ||
+ | } | ||
+ | } | ||
+ | }); | ||
+ | |||
+ | $.address.change(function(event) { | ||
+ | var currAddr = $.address.value().substr(1); | ||
+ | var page = event.path.substring(1); | ||
+ | v = $('.lavaLampBottomStyle [rel='+page+']').parent(); | ||
+ | $(".lavaLampBottomStyle").trigger("move", v); | ||
+ | if($.inArray(page, pages) != -1) { | ||
+ | var margin = $(".slide_content").width(); | ||
+ | margin = margin * ($.inArray(page, pages)); | ||
+ | margin = margin * -1; | ||
+ | if(currAddr, pages) { | ||
+ | $(".tabslider").stop().animate({ | ||
+ | marginLeft: margin + "px" | ||
+ | }, { | ||
+ | duration: 300 | ||
+ | }); | ||
+ | } | ||
+ | else { | ||
+ | $(".tabslider").css("marginLeft: " + margin + "px"); | ||
+ | } | ||
+ | } | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | |||
+ | <div id="overallMask"> | ||
+ | <div id="headerWrapper"> | ||
+ | <img src="https://static.igem.org/mediawiki/2010/a/a4/USTC_Software_logo.png" alt="iGEM USTC 2010"> | ||
+ | <p style="float: right; margin-right: 30px"> | ||
+ | Welcome to<br> | ||
+ | <span style="margin-left: 2em">USTC iGEM</span> | ||
+ | </p> | ||
</div> | </div> | ||
- | + | <div id="contentWrapper"> | |
- | <div | + | <div class='tabbed_content'> |
- | < | + | <div class='tabs'> |
- | + | <ul class="lavaLampBottomStyle" id="tabs"> | |
- | + | <li> | |
- | + | <a href="https://2010.igem.org/Team:USTC_Software#/home" rel="home">Home</a> | |
- | + | </li> | |
- | + | <li> | |
- | + | <a href="https://2010.igem.org/Team:USTC_Software#/idea" rel="idea">Idea</a> | |
- | + | </li> | |
- | + | <li> | |
- | + | <a href="https://2010.igem.org/Team:USTC_Software#/project" rel="project">Project</a> | |
- | + | </li> | |
- | + | <li> | |
- | + | <a href="https://2010.igem.org/Team:USTC_Software#/notebook" rel="notebook">Notebook</a> | |
- | </ | + | </li> |
- | + | <li> | |
- | + | <a href="https://2010.igem.org/Team:USTC_Software#/downloads" rel="downloads">Downloads</a> | |
- | + | </li> | |
- | + | <li> | |
- | < | + | <a href="https://2010.igem.org/Team:USTC_Software#/resources" rel="resources">Resources</a> |
- | + | </li> | |
- | + | <li> | |
- | + | <a href="https://2010.igem.org/Team:USTC_Software#/human_practice" rel="human_practice">Human Practice</a> | |
- | + | </li> | |
- | + | <li> | |
- | < | + | <a href="https://2010.igem.org/Team:USTC_Software#/team" rel="team">Team</a> |
- | + | </li> | |
- | + | </ul> | |
- | + | </div> | |
- | + | <div id="sponsorWrapper"> | |
- | + | </html>{{Team:USTC_Software/Sidebar}}<html> | |
- | + | </div> | |
- | + | <div id="otherContent"> | |
- | </ | + | |
- | + | ||
- | + | ||
- | + | ||
- | < | + | |
- | + | ||
- | < | + | |
- | + | ||
- | < | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | < | + | |
- | + | ||
- | + | ||
- | + | ||
- | < | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | < | + | |
- | + | ||
- | + | ||
- | < | + | |
- | + | ||
- | + | ||
- | + | ||
- | < | + | |
- | + | ||
- | < | + | |
- | + | ||
- | + |
Revision as of 21:49, 16 July 2010
Welcome to
USTC iGEM
CHOOSE YOUR LANGUAGE
FOLLOW US ON
NEWS
SPONSORS
EXTERNAL LINKS
[http://igem.ustc.edu.cn iGEM@USTC]
[http://openwetware.org/wiki/IGEM:USTC USTC iGEM on OpenWetware]
[http://biotech.ustc.edu.cn/forum USTC Biotech Forum]
[http://groups.google.com/group/igem-china iGEM China Google Group]
CONTACT US
LOCATIONS OF VISITORS