Web Analytics Made Easy -
StatCounter Drag & Drop in Firefox0.8 - CodingForum

Announcement

Collapse
No announcement yet.

Drag & Drop in Firefox0.8

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Drag & Drop in Firefox0.8

    any knows how to make drag and drop in Firefox or Mozilla in general, I use this following code for IE

    http://javascriptkit.com/howto/drag.shtml

  • #2
    DOM-Drag!

    http://youngpup.net/2004/domdragupdate
    My Site | fValidate | My Brainbench | MSDN | Gecko | xBrowser DOM | PHP | Ars | PVP
    “Minds are like parachutes. They don't work unless they are open”
    “Maturity is simply knowing when to not be immature”

    Comment


    • #3
      k that did work in firefox :P but if I wanna use it from an elements event:
      <td onmousedown="dragStart()">

      it won't work since e in dragstart then gets undefined and it then goes for the IE window.event.
      so how would you do it in Firefox? do it really not have a global accesible event object?

      Comment


      • #4
        You have to pass the event.

        <td onmousedown="dragStart(event)">
        Glenn
        vBulletin Mods That Rock!

        Comment


        • #5
          ty bettle and glengv it works now, had tried any else way of writing event inside the () :P
          treid:e,Event,window.Event.
          don't know why I didn't try just event lol:P

          Comment

          Working...
          X