Hi,

I'm fairly new to script.aculo.us, so hopefully this is the right place
to ask this question. I have the following situation (pseudo-code):

<div>
  <Droppable 1>
  <Droppable 2>
</div>
<div (scrollable)>
  <Draggable 1>
  <Draggable 2>
  ...
</div>

Basically, my Draggables are inside a scrollable <div> element (the
interface looks similar to iTunes or Outlook). My problem is that if I
start to drag them, the "ghost" is also in this div, so I can't drop it
on a Droppable. I've tried messing with the starteffect and endeffect,
temporarily moving the element from their containing <div> to
document.body, but the main issue is that when I do this, I can't
restore the original state since I lose the Draggable's position inside
its scrollable <div> element.

I figure somebody must have implemented something similar. Can anyone
give hints on how to implement something like this using
Prototype/script.aculo.us? Pointers to further documentation explaining
something like this would also be appreciated.

Thanks for your time,

Lukas


--~--~---------~--~----~------------~-------~--~----~
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