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") %>

<div id="left">
  <div id="left_value"><%= draggable_element("left_value", :ghosting =>
true, :revert => true) %>
    <h3>LEFT</h3>
  </div>
</div>

<div id="center">
  <div id="center_value"><%= draggable_element("center_value",
:ghosting => true, :revert => true) %>
    <h3>CENTER</h3>
  </div>
</div>

<div id="right">
  <div id="right_value"><%= draggable_element("right_value", :ghosting
=> true, :revert => true) %>
    <h3>RIGHT</h3>                
  </div>
</div>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---

Reply via email to