User:Vinoo/2014Design7

From 2014.igem.org

(Difference between revisions)
m
m
Line 236: Line 236:
$('.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"
opacity: "1"
},
},
-
300
+
200
);
);
}
}
);
);
}, function() {
}, function() {
-
$('.dropMenu', this).stop(true,true).delay(150).slideUp('normal');
+
$('.dropMenu', this).stop(true,true).delay(150).slideUp('normal', function() {
 +
$('.dropMenuContainer', this).stop(true,true).animate(
 +
{
 +
opacity: "0"
 +
},
 +
200
 +
);
 +
}
 +
);
});
});

Revision as of 16:15, 28 January 2014