Team:UT-Tokyo/Templates/BeginContent
From 2011.igem.org
(Difference between revisions)
(13 intermediate revisions not shown) | |||
Line 309: | Line 309: | ||
#navi #menu #dataMenu { | #navi #menu #dataMenu { | ||
- | top: | + | top: 15px; |
- | height: | + | height: 150px; |
} | } | ||
Line 325: | Line 325: | ||
#navi #menu #teamMenu img {top: 13px;} | #navi #menu #teamMenu img {top: 13px;} | ||
#navi #menu #projectMenu img {top: 60px;} | #navi #menu #projectMenu img {top: 60px;} | ||
- | #navi #menu #dataMenu img {top: | + | #navi #menu #dataMenu img {top: 94px;} |
#navi #menu #societyMenu img {top: 43px;} | #navi #menu #societyMenu img {top: 43px;} | ||
Line 452: | Line 452: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
+ | window.onunload = function() {}; | ||
String.prototype.startswith = function (str){ | String.prototype.startswith = function (str){ | ||
Line 510: | Line 511: | ||
else if (fullPageName.match('Team:UT-Tokyo/Project')) return 2; | else if (fullPageName.match('Team:UT-Tokyo/Project')) return 2; | ||
else if (fullPageName.match('Team:UT-Tokyo/(Data|Parts|LabNote)')) return 3; | else if (fullPageName.match('Team:UT-Tokyo/(Data|Parts|LabNote)')) return 3; | ||
- | else if (fullPageName.match('Team:UT-Tokyo/(Society| | + | else if (fullPageName.match('Team:UT-Tokyo/(Society|Outreach|Safety)')) return 4; |
else return 0; // invalid! | else return 0; // invalid! | ||
}; | }; | ||
Line 650: | Line 651: | ||
UT_Tokyo.currentUrl = 'https://2011.igem.org' + location.pathname; | UT_Tokyo.currentUrl = 'https://2011.igem.org' + location.pathname; | ||
- | // add link to the hq | + | // add link to the hq <- "iGEM HQ" sounds slightly different from "iGEM 2011 Main Page"... (Shimizu) |
- | $('.left-menu ul').prepend('<li><a href="/"><b>iGEM | + | $('.left-menu ul').prepend('<li><a href="/"><img src="https://static.igem.org/mediawiki/2011/7/70/UT-Tokyo_IGEM_basic_Logo_white.png" /> <b>iGEM 2011 Top</b></a></li>'); |
$('#slider').nivoSlider({ | $('#slider').nivoSlider({ | ||
Line 728: | Line 729: | ||
<div class="slider-wrapper theme-default"> | <div class="slider-wrapper theme-default"> | ||
<div id="slider" class="nivoSlider"> | <div id="slider" class="nivoSlider"> | ||
- | <img src=" | + | <img src="https://static.igem.org/mediawiki/2011/2/28/UT-Tokyo_Menu_Top.jpg" /> |
- | <img src=" | + | <img src="https://static.igem.org/mediawiki/2011/4/4c/UT_Top2.png" /> |
- | <img src=" | + | <img src="https://static.igem.org/mediawiki/2011/7/7a/UT_Top3.png" /> |
- | <img src=" | + | <img src="https://static.igem.org/mediawiki/2011/b/bf/UT_Top4.png" /> |
- | + | <img src="https://static.igem.org/mediawiki/2011/1/1a/UT_Top5.png" /> | |
- | <img src=" | + | |
- | + | ||
</div> | </div> | ||
<div id="menu"> | <div id="menu"> | ||
Line 766: | Line 765: | ||
<img src="https://static.igem.org/mediawiki/2011/f/f2/UT_Tokyo_triangle.png" alt="" /> | <img src="https://static.igem.org/mediawiki/2011/f/f2/UT_Tokyo_triangle.png" alt="" /> | ||
<ul> | <ul> | ||
+ | <li><a href="https://2011.igem.org/Team:UT-Tokyo/Data">Data</a></li> | ||
<li><a href="https://2011.igem.org/Team:UT-Tokyo/Data/Method">Method</a></li> | <li><a href="https://2011.igem.org/Team:UT-Tokyo/Data/Method">Method</a></li> | ||
<li><a href="https://2011.igem.org/Team:UT-Tokyo/Data/Modeling">Modeling</a></li> | <li><a href="https://2011.igem.org/Team:UT-Tokyo/Data/Modeling">Modeling</a></li> | ||
Line 776: | Line 776: | ||
<ul> | <ul> | ||
<li><a href="https://2011.igem.org/Team:UT-Tokyo/Safety">Safety</a></li> | <li><a href="https://2011.igem.org/Team:UT-Tokyo/Safety">Safety</a></li> | ||
- | <li><a href="https://2011.igem.org/Team:UT-Tokyo/ | + | <li><a href="https://2011.igem.org/Team:UT-Tokyo/Outreach">Outreach</a></li> |
</ul> | </ul> | ||
</div> | </div> |
Latest revision as of 01:51, 6 October 2011