User:Vinoo/2014Design7

From 2014.igem.org

(Difference between revisions)
m
m
Line 237: Line 237:
$('.dropToggle').hover(function() {
$('.dropToggle').hover(function() {
$('.dropMenu', this).stop(true,true).delay(150).slideDown('normal', function() {
$('.dropMenu', this).stop(true,true).delay(150).slideDown('normal', function() {
-
$('.dropMenuContainer', this).stop(true,true).animate(
+
$('.dropMenuContainer', this).stop(true,true).animate({opacity: "1"},200);
-
{
+
});
-
opacity: "1"
+
-
},
+
-
200
+
-
);
+
-
}
+
-
);
+
}, function() {
}, function() {
-
$('.dropMenu', this).stop(true,true).delay(150).slideUp('normal', function() {
+
$('.dropMenu', this).stop(true,true).delay(150).slideUp('normal', function() {
-
$('.dropMenuContainer', this).stop(true,true).animate(
+
$('.dropMenuContainer', this).stop(true,true).animate({opacity: "0"},200);
-
{
+
});
-
opacity: "0"
+
-
},
+
-
200
+
-
);
+
-
}
+
-
);
+
});
});

Revision as of 16:37, 28 January 2014