Team:NYMU-Taipei/Navigation
From 2013.igem.org
(Difference between revisions)
Mastershot (Talk | contribs) |
Mastershot (Talk | contribs) |
||
Line 116: | Line 116: | ||
color:#fff; | color:#fff; | ||
} | } | ||
- | ul.sdt_menu li div.sdt_secsub { | + | ul.sdt_menu li div.sdt_box a div.sdt_secsub { |
float: left; | float: left; | ||
clear: both; | clear: both; | ||
Line 155: | Line 155: | ||
<div class="sdt_box" style="width: 210px; height: 170px;"> | <div class="sdt_box" style="width: 210px; height: 170px;"> | ||
<a href="https://2013.igem.org/Team:NYMU-Taipei/Project/Enter">Enter of Bee.coli</a> | <a href="https://2013.igem.org/Team:NYMU-Taipei/Project/Enter">Enter of Bee.coli</a> | ||
- | <a href="https://2013.igem.org/Team:NYMU-Taipei/Project/Inhibition"> | + | <a href="https://2013.igem.org/Team:NYMU- |
+ | Taipei/Project/Inhibition">Inhibiting Infection | ||
+ | <div class="sdt_secsub"> | ||
+ | <a href="https://2013.igem.org/Team:NYMU-Taipei/Project/Inhibition/Prohibition">Prohibiting Sprouting</a> | ||
+ | <a href="https://2013.igem.org/Team:NYMU-Taipei/Project/Inhibition/Sensor">Sensor</a> | ||
+ | <a href="https://2013.igem.org/Team:NYMU- | ||
+ | Taipei/Project/Inhibition/Killing">Killing Nosema</a> | ||
+ | </div> | ||
+ | </a> | ||
<a href="https://2013.igem.org/Team:NYMU-Taipei/Project/Kill">Suicide Solution</a> | <a href="https://2013.igem.org/Team:NYMU-Taipei/Project/Kill">Suicide Solution</a> | ||
</div> | </div> | ||
Line 238: | Line 246: | ||
left = '-127px'; | left = '-127px'; | ||
$sub_menu.show().animate({'left':left},100); | $sub_menu.show().animate({'left':left},100); | ||
- | $secsub_menu = $element.find('.sdt_secsub') | + | $sub_menu.bind('mouseenter',function(){ |
- | if($secsub_menu){ | + | $secsub_menu = $element.find('.sdt_secsub'); |
+ | if($secsub_menu.length){ | ||
var left = '254px' | var left = '254px' | ||
if($elem.parent().children().length == $elem.index()+1) | if($elem.parent().children().length == $elem.index()+1) |
Revision as of 13:43, 19 September 2013