Reputation: 1
$(document).ready(function() {
$(".menu li a").hover(function() {
$(this).fadeTo("slow", 0.33);
});
});
I want to effect mouseover and mouseout but I can't do it :(
Upvotes: 0
Views: 49
Reputation: 26170
$(document).ready(function()
$(".menu li a").hover(function() {
$(this).fadeTo("slow", 0.33);
}, function() {
$(this).fadeIn("slow");
});
});
Upvotes: 2
Reputation: 87073
$(document).ready(function() {
$(".menu li a").hover(function() {
// do something for mouseover
}, function() {
// do something for mouseout
});
});
Upvotes: 1