[jQuery] How to repeat execution of js on 'click' function?

2009-07-18 Thread Piers Plowden
I'm trying to figure out a click function that would execute a js function twice with, say, a 500 ms delay between each when the user clicks on an . The js function i want to execute twice is document.movie.SetURL - would something like this work?: $(document).ready(function () { $("a").click(fu

[jQuery] Re: Convert single click to double click?

2009-07-16 Thread piers
therwise, maybe you can just have the single-clicktrigger > adouble-clickevent. I haven't tried this. > > $("#myDiv").click(function() { >     $(this).trigger("dblclick"); > > }); > > On Jul 13, 3:59 pm, Piers Plowden wrote: > > > I'm

[jQuery] Convert single click to double click?

2009-07-14 Thread Piers Plowden
I'm wondering if anyone knows a method for 'converting' a single click to (effectively) a double click with a timeout? I have an onclick handler issue that requires a double click for an event that the user will expect to need only a single click for. Thanks!

[jQuery] Fade IN/OUT images onClick

2009-07-14 Thread Piers Plowden
I'm new to jquery so I hope you'll forgive my ignorance... I have a div on a page that I'm hoping can contain multiple images that would fade in and replace an out-going image based on an onClick event. Each image is dedicated to it's a href (there are about 30) and they would all be initi