here's a working example , using addClass() and removeClass to test
which animation to use. Works on multiple clicks http://jsbin.com/ulafa mkauppinen wrote: Ok, but it works only once. What if I want to open it again?On Jun 25, 3:20 pm, Charlie <charlie...@gmail.com> wrote:in your click function: if ($(this).is(":animated")){ //do whatever you mean by "close" } //original animation here and remove $(this).animate from mouseleave |
- [jQuery] one div, multiple clicks mkauppinen
- [jQuery] Re: one div, multiple clicks Charlie
- [jQuery] Re: one div, multiple clicks mkauppinen
- [jQuery] Re: one div, multiple clicks Charlie