JavaScript drag-and-drop for Prototype, early alpha playground
I’ve put up a working demo and JavaScript code for drag-and-drop with nice usage of the Effects2 package. To make an element draggable, just use: new Draggable(‘id_of_element’); To mark it as a drop target: Droppables.add(‘id_of_element’); Of course it’s early alpha and lacks refactoring and a polished API, but it works. Tested in Safari in Firefox. … Continue reading JavaScript drag-and-drop for Prototype, early alpha playground
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed