0 Replies Latest reply on Feb 25, 2008 12:10 PM by martinverzilli

    Getting mouse pointer position on drop

    martinverzilli

      Hi! I need to fire an action on drop of an element, and send the mouse pointer coordinates at that moment as parameters for the action. Is there any "built-in" way to get this information?

      Currently, I'm using a workaround which consists in storing the current mouse pointer coordinates in global variables with Javascript ondrop. Then, as the action I'm executing is an Ajax one, I reRender (and execute) a piece of Javascript code which uses those previously stored variables conveniently.

      However, this seems a bit messy, and I think it would make sense that the DropSupport tag gave that information in a more straightforward way.