[jQuery] Using fade on .toggleClass
Hi all,
I'm trying to make something fade in and out when I use "toggleClass"
to show and hide. I've been looking around for a while and can't see
if it's possible. Here is my code:
$(function() {
$("#topArea ul#profileLinks li.userEmail form#signInForm").addClass("hide");
$("#topArea ul#profileLinks li.userEmail strong").hover(function(){
$(this).addClass('hover');
}, function() {
$(this).removeClass('hover');
$("#topArea ul#profileLinks li.userEmail strong").click(function(){
$("#topArea ul#profileLinks li.userEmail
form#signInForm").toggleClass('show');
});
});
});
Would appreciate any help.
Cheers
Paul