So Im still having some issues getting this to work exactly how I want it to. Still very much a beginner at jQuery so please bare with me.
Right now here is the current javascript that I have controlling my html $(".ipsum").css({ display: "none" }); $(".show").hover(function(){ $(".ipsum").fadeIn("slow"); },function(){ $(".ipsum").fadeOut("slow"); }); and here is the html: <h3 class="show">Show / Hide Paragraph</h3> <p class="ipsum">Cu rebum meliore mei, te impetus regione facilisis eos, mel meis commune mentitum an. Id mentitum reprimique honestatis sea, at dico vidisse menandri usu, id usu nostro meliore eloquentiam. Ex vim vivendum contentiones. Mei ut ipsum inciderint, putant feugait complectitur an per. </p> Pretty much once you start to get into this animation, if you hover off/on very quickly, the animation just starts to get into a loop and plays every event in a queue type fashion. Im sure that the method above would work, but I can exactly figure out how to apply it. I have also uploaded this on my site: http://www.anthonyjamesbruno.com/test/jQuery/help.html On Jun 23, 3:59 pm, anthonyb <[EMAIL PROTECTED]> wrote: > Thanks Ollie > > I'll give this a shot, and If I still have issues, reply back with > examples. > > Anthony > > On Jun 22, 4:10 pm, Ollie <[EMAIL PROTECTED]> wrote: > > > Could you do something like this? > > > if(!$('#myElem:animated')){ > > <!-- Animation code here --> > > > } > > > You can read more information about the animated selector here; > > >http://docs.jquery.com/Selectors/animated > > > On Jun 22, 8:47 pm, anthonyb <[EMAIL PROTECTED]> wrote: > > > > Im somewhat new to using jQuery and I am loving it so far. One problem > > > that I encounter is if you have a element, say, for example, that is a > > > button and on press a paragraph of text fades in. If you press the > > > button again, jQuery fades the text out. > > > > Well this in fact works rather well, but the problem is, if you go > > > crazy on that button and press it rapidly with your mouse, the > > > animation will just open and close and open and close.. is there any > > > way to prevent this from happening? > > > > Essentially it would be great if there was something that said: If the > > > animation is in motion, dont take any other commands for it. Or > > > something along those lines. > > > > Again, im somewhat new at this, so I hope I'm being clear with what I > > > am encountering. Thanks.