[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 a href. The js function i want to execute twice is document.movie.SetURL - would something like this work?: $(document).ready(function () {

[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

[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!