[jQuery] click function
[jQuery] click function
I've a simple question..
I'm writing a function that call an event on first mouse click and
call another event on second mouse click.
But I've some problem, because work only the first mouse click:
jQuery(document).ready(function() {
$(".menu a").click(function() {
$(this).next("em").animate({opacity: "show", top: "-205"}, "slow");
$(this).next("em").animate({opacity: "hide", top: "-205"}, "fast");
});
});
Any help.. :-)
Thanks in advance,
Alfredo