Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Drag and Drop in Javascript

 
Pavan Kumar Dittakavi
Ranch Hand
Posts: 106
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All..

Is it possible to write javascript code that say enables drag and drop of links in google search results?

Thing is we need to enable drag and drop support between an SWT based client and a web-based client. So, wanted to know if this is possible.

Please suggest.

Thanks, Pavan.
 
Rob Crowther
author
Ranch Hand
Posts: 297
5
Android Fedora Firefox Browser
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Links are already draggable and droppable without JavaScript.
 
Anna Harris
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, javascript Support for Drag and Drop operations.It may be applied to individual elements on your HTML page. For drag operations, an element can handle the following JavaScript events:
» ondragstart
» ondragover
» ondragleave
» ondrop

For more detail Please visit: https://developer.apple.com/library/mac/#documentation/AppleApplications/Conceptual/SafariJSProgTopics/Tasks/DragAndDrop.html
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic