A couple more observations.

    Droppables.add(e, {
      hoverclass: 'over',
      onDrop: function (drag, drop) {
        drag.revert = false;
        drop.appendChild(drag);
        drag.style.position = 'absolute';
        drag.style.left = drag.style.top = 0;
      },
    });
  });

Safari doesn't care for that trailing comma after the onDrop definition. The code didn't work on Safari until I removed it.

Also, I'm now finding that on Internet Explorer/Win, an item which is dropped into a box and subsequently dragged will appear "behind" the dropboxes. Do I need to reset drag.style.z-index as well as position?

Thanks,
Ben

--
Ben Kimball                               <mailto:[EMAIL PROTECTED]>
Webmaster                                         <phoneto:512.232.2195>
Division of Continuing Education, UT Austin             <walkto:SW7,203>
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to