Team:KIT-Kyoto/Test

From 2014.igem.org

(Difference between revisions)
Line 26: Line 26:
<!--メインコンテンツ-->
<!--メインコンテンツ-->
<div id="container">
<div id="container">
-
<ul class="topmenu">
+
<div id="topmenu">
-
<li>
+
<div class="timg">
<a href="javascript:void(0);">
<a href="javascript:void(0);">
<img class="show" src="/wiki/images/6/6b/Kit_Welcome.png">
<img class="show" src="/wiki/images/6/6b/Kit_Welcome.png">
<img class="hide" src="/wiki/images/3/3f/Kit_Welcome_on_c.jpg">
<img class="hide" src="/wiki/images/3/3f/Kit_Welcome_on_c.jpg">
</a>
</a>
-
</li>
+
</div>
-
<li>
+
<div class="timg">
<a href="/Team:KIT-Kyoto/About">
<a href="/Team:KIT-Kyoto/About">
<img class="show" src="/wiki/images/b/bf/Kit_Abou_Us.png">
<img class="show" src="/wiki/images/b/bf/Kit_Abou_Us.png">
<img class="hide" src="/wiki/images/8/8e/Kit_Abou_Us_on_c.jpg">
<img class="hide" src="/wiki/images/8/8e/Kit_Abou_Us_on_c.jpg">
</a>
</a>
-
</li>
+
</div>
-
<li>
+
 
 +
<div class="timg">
<a href="/Team:KIT-Kyoto/Project">
<a href="/Team:KIT-Kyoto/Project">
<img class="show" src="/wiki/images/c/c2/Kit_Projectmenu.png">
<img class="show" src="/wiki/images/c/c2/Kit_Projectmenu.png">
<img class="hide" src="/wiki/images/1/11/Kit_Project_on_c.jpg">
<img class="hide" src="/wiki/images/1/11/Kit_Project_on_c.jpg">
</a>
</a>
-
</li>
+
</div>
-
<li>
+
<div class="timg">
<a href="/Team:KIT-Kyoto/HumanPractice">
<a href="/Team:KIT-Kyoto/HumanPractice">
<img class="show" src="/wiki/images/7/7e/Kit_PP.png">
<img class="show" src="/wiki/images/7/7e/Kit_PP.png">
<img class="hide" src="/wiki/images/e/e6/Kit_PP_on_c.jpg">
<img class="hide" src="/wiki/images/e/e6/Kit_PP_on_c.jpg">
</a>
</a>
-
</li>
+
</div>
-
<li>
+
<div class="timg">
<a href="/Team:KIT-Kyoto/Achievement">
<a href="/Team:KIT-Kyoto/Achievement">
<img class="show" src="/wiki/images/8/82/Kit_Achievement.png">
<img class="show" src="/wiki/images/8/82/Kit_Achievement.png">
<img class="hide" src="/wiki/images/6/6d/Kit_Achievement_on_c.jpg">
<img class="hide" src="/wiki/images/6/6d/Kit_Achievement_on_c.jpg">
</a>
</a>
-
</li>
+
</div>
-
<li>
+
 
 +
<div class="timg">
<a href="/Team:KIT-Kyoto/Labnote">
<a href="/Team:KIT-Kyoto/Labnote">
<img class="show" src="/wiki/images/1/17/Kit_LN.png">
<img class="show" src="/wiki/images/1/17/Kit_LN.png">
<img class="hide" src="/wiki/images/1/1b/Kit_LN_on_c.jpg">
<img class="hide" src="/wiki/images/1/1b/Kit_LN_on_c.jpg">
</a>
</a>
-
</li>
+
</div>
-
</ul>
+
 
 +
</div>
<div class="clear"><hr /></div>  
<div class="clear"><hr /></div>  
     <div id='kitfooter-box' class='noprint'>
     <div id='kitfooter-box' class='noprint'>
Line 137: Line 140:
.hide{
.hide{
position:relative;
position:relative;
-
top:-300px;
 
left:0;
left:0;
z-index:2;
z-index:2;
Line 147: Line 149:
var w = $("#kitfooter-box").width;
var w = $("#kitfooter-box").width;
$(".topmenu img").css({width:w});
$(".topmenu img").css({width:w});
 +
var _h = $(".show").height();
 +
$(".topmenu li,.topmenu a").css({height:_h});
}
}
$(function(){
$(function(){

Revision as of 15:55, 10 October 2014


kit