www.webdeveloper.com
Results 1 to 2 of 2

Thread: Firefox 3.0 drag event

  1. #1
    Join Date
    Nov 2010
    Posts
    27

    Firefox 3.0 drag event

    I have a requirement of capturing drag event on firefox. On version higher then 3.0 it is working fine but not on 3.0. Does anyone know how to make drag event work on firefox 3.0 other then writing the whole javascript function to capture the mouse moves..

    Here is the simple sample html:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
    <html>
    <body>
    <img src="myimage.png" ondragend="alert('hi');" />
    <body>
    </html>

    The Mozilla docs says that they work on firedox 3 but it is not working for me for 3.0.19

    https://developer.mozilla.org/en/Drag_and_Drop


    Any drag event would work . I just need to capture the event when user drags a particular image.

  2. #2
    Join Date
    Nov 2010
    Posts
    27
    could figure it out from mozilla docs that they dont work for versions less then 3.5 unless

    Note: This page documents an old API. For the new drag and drop functionality supported in Gecko 1.9.1 (Firefox 3.5) and later, see the newer API documentation. Unlike the new API, the old API that's documented on this page was only supported in chrome (such as extensions); you can't use this old API on web pages unless you have UniversalXPConnect privileges.

    so we can close this thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles