User:Vinoo/2014Design7

From 2014.igem.org

(Difference between revisions)
m
m
Line 143: Line 143:
</div>
</div>
</li>
</li>
-
<li>search</li>
+
<li class="dropToggle">search
-
<li>team info</li>
+
<div class="dropMenu">
 +
<div class="dropMenuContainer container_16">
 +
<div class="grid_4">
 +
Fusce quis rhoncus quam. In eleifend commodo volutpat. Ut a porta nibh, ut gravida diam. Quisque at dolor eget massa dignissim molestie at ac leo.
 +
</div>
 +
</div>
 +
</div>
 +
</li>
 +
<li class="dropToggle">team info
 +
<div class="dropMenu">
 +
<div class="dropMenuContainer container_16">
 +
<div class="grid_4">
 +
Fusce quis rhoncus quam. In eleifend commodo volutpat. Ut a porta nibh, ut gravida diam. Quisque at dolor eget massa dignissim molestie at ac leo.
 +
</div>
 +
</div>
 +
</div>
 +
</li>
</ul>
</ul>
<ul id="rightLinks">
<ul id="rightLinks">
Line 164: Line 180:
$(document).ready(function() {
$(document).ready(function() {
$('.dropToggle').mouseenter(function() {
$('.dropToggle').mouseenter(function() {
-
$('.dropMenu', this).stop(true,true).slideDown('fast');
+
$('.dropMenu', this).stop(true,true).slideDown('normal');
});
});
$('.dropToggle').mouseleave(function() {
$('.dropToggle').mouseleave(function() {
-
$('.dropMenu', this).stop(true,true).slideUp('fast');
+
$('.dropMenu', this).stop(true,true).slideUp('normal');
});
});
});
});

Revision as of 22:29, 27 January 2014