Results 1 to 2 of 2

Thread: Generic Drag script

  1. #1
    Join Date
    Nov 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Generic Drag script

    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

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Try this out, you can change the alert to whatever window.open() method you choose:

    HTML Code:
    <a href="#" onclick="return false" ondblclick="alert('hey')">Click Twice</a>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •