Is html5 drag and drop a broken Safari browser for windows?

Is html5 being dragged into the Safari browser for windows? If yes, is there any work around?

I use Safari 5.1.2 on Windows 7, and return targets always show as non-negative. Tried this on two different Windows 7 computers with a clean install and the latest setup.

I tried both this demo and my own code that works in every other last browser.

http://html5demos.com/drag

+5
source share
3 answers

Indeed, D&D for Safari does not work.

Kind of work for Safari:

"dragend"
"drop" dropping.

+8

. , , (Safari 5.1.7 Windows) : 15 2012 . !

Apple .

+3

http://html5doctor.com/native-drag-and-drop/#dragging_anything
:

[draggable=true] {
  -khtml-user-drag: element;
}

-HTML5 jQuery: http://jqueryui.com/demos/draggable/

, , .

Modernizr , jQuery, :

if (Modernizr.draganddrop) {
  // Browser supports HTML5 DnD.
} else {
  // Fallback to a library solution.
}

From http://www.html5rocks.com/en/tutorials/dnd/basics/

0
source

All Articles