dropping links in browser window changes window.location; how to disable?

Discussion in 'Javascript' started by Ari Krupnik, Dec 3, 2006.

  1. Ari Krupnik

    Ari Krupnik Guest

    In all graphical browsers I know, if you drag and drop a link anywhere
    in a window, or even text that looks like a link, the browser tries to
    navigate to that link. Is it possible to disable that behavior?

    In IE, I can add non-standard event handlers, ondragover and ondrop,
    that cancel the default action. Is there a way to do this in Mozilla?

    Ari.

    --
    Elections only count as free and trials as fair if you can lose money
    betting on the outcome.
     
    Ari Krupnik, Dec 3, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matt
    Replies:
    0
    Views:
    3,551
  2. John Hann
    Replies:
    0
    Views:
    6,085
    John Hann
    Aug 21, 2004
  3. saiho.yuen
    Replies:
    3
    Views:
    435
    kaeli
    Sep 14, 2004
  4. Edward Diener
    Replies:
    11
    Views:
    437
    Bart Van der Donck
    Oct 26, 2007
  5. Alex Bird
    Replies:
    3
    Views:
    189
    Thomas 'PointedEars' Lahn
    May 9, 2008
Loading...

Share This Page