I am not exactly sure what you are doing with the positioning, but try .toggle() instead perhaps?
Cheers On Dec 15, 11:13 am, "Alfredo Alessandrini" <alfreal...@gmail.com> wrote: > 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