Template:Team:USTC Software/Header
From 2010.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
- | + | <style> | |
/* USTC_Software | 20100717 */ | /* USTC_Software | 20100717 */ | ||
/* BEGIN CSS RESET */ | /* BEGIN CSS RESET */ | ||
Line 16: | Line 16: | ||
border: 0; | border: 0; | ||
outline: 0; | outline: 0; | ||
- | vertical-align: | + | vertical-align: baseline; |
background: transparent; | background: transparent; | ||
line-height: 1; | line-height: 1; | ||
Line 25: | Line 25: | ||
ol, ul { | ol, ul { | ||
list-style: none; | list-style: none; | ||
+ | vertical-align: center; | ||
} | } | ||
blockquote, q { | blockquote, q { | ||
Line 300: | Line 301: | ||
</style> | </style> | ||
- | + | <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, | |
- | + | click: function(event, obj) { | |
- | + | $.address.value($(obj).find('a').attr('rel')); | |
- | + | 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"> | <div id="headerWrapper"> | ||
- | + | <img src="https://static.igem.org/mediawiki/2010/c/c3/USTC_Software_Logo.png" width="350px" height="150px" alt="iGEM USTC 2010"> | |
- | + | <p style="float: right; margin-right: 30px"> | |
Welcome to<br> | Welcome to<br> | ||
<span style="margin-left: 2em">iGEM USTC Software</span> | <span style="margin-left: 2em">iGEM USTC Software</span> | ||
- | + | </p> | |
</div> | </div> | ||
<div id="contentWrapper"> | <div id="contentWrapper"> | ||
- | + | <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 08:41, 6 October 2010
Welcome to
iGEM USTC Software
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