User:Vinoo/2014Design7

From 2014.igem.org

(Difference between revisions)
m
m
Line 179: Line 179:
<script>
<script>
$(document).ready(function() {
$(document).ready(function() {
-
$('.dropToggle').mouseenter(function() {
+
$('.dropToggle').hover(function() {
$('.dropMenu', this).stop(true,true).slideDown('normal');
$('.dropMenu', this).stop(true,true).slideDown('normal');
-
});
+
}, function() {
-
$('.dropToggle').mouseleave(function() {
+
$('.dropMenu', this).stop(true,true).slideUp('normal');
-
$('.dropMenu', this).stop(true,true).slideUp('normal');
+
});
});
});
});

Revision as of 12:52, 28 January 2014