Help with Draggables

HI -

I’m trying to set up a test page that has 3 columns. Within each column
is a draggable div. I’d like the user to be able to drag any of the
divs contained within the left right or center divs.

I can’t get it working - I’ve looked over the script.aculo.us wiki docs
and elsewhere but the only examples I’ve seen deal with unordered
lists.

Here is my code:


<%= drop_receiving_element(“right”) %>
<%= drop_receiving_element(“center”) %>
<%= drop_receiving_element(“left”) %>

<%= draggable_element("left_value", :ghosting => true, :revert => true) %>

LEFT

<%= draggable_element("center_value", :ghosting => true, :revert => true) %>

CENTER

<%= draggable_element("right_value", :ghosting => true, :revert => true) %>

RIGHT

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs