PDA

View Full Version : Generic Drag script



Glynis
11-04-2005, 12:16 AM
With this script you are able to drag the images around and I would also like to be able to double click on an image so that it opens in a pop-up box. I have tried various a href couple with the new window but these open on a single click, whereas I would like them only to open on double click.
Thanx

jscheuer1
11-04-2005, 08:43 AM
Try this out, you can change the alert to whatever window.open() method you choose:


<a href="#" onclick="return false" ondblclick="alert('hey')">Click Twice</a>