Greetings,

I am looking in adding some d&d functionality to my drupal nodes. I found an example and ported it to my host to get started www.itaworkbench.com/dd.html

I just moved over some pics and the jquery and interface library files and it worked fine.

I ported it into Drupal -
a php prefix calling in the css, jquery, and interface libs along with html in the node body

css and js separated into files


drupal_add_css("dd.css");

 jquery_ui_add(array('ui.draggable', 'ui.droppable'));

drupal_add_js("dd.js");


I can see in the resulting page source that all files are found and in the right order.

I get odd dragging behavior www.itaworkbench.com/node/21 (try dragging a subfolder)

Dropping behavior is off too but my hope is that correct drag will fix it.

I am using jquery update and even tried the dev version to ensure I am using lastest jquery.

I have checked as carefully as I am able. I would appreciate some guidance.

Comments

smalltalkman’s picture

It was just a configuration management problem. I forced the use of a later version of jquery and interface.

drupal_add_js("jquery-1.3.2.js");
 drupal_add_js("interface 1.2/interface.js");