IIRC, I had problems with firefox when I tried to drag elements from inside a scrollable div to outside the scrollable div. The draggables were locked inside the scrollable div. I found a trick to allow the draggable to escape the scrollable div. I had to make the drag handle an empty div or an image like this
<li class="draggable"><img class="handle" src="img.gif"/>draggable text</li> This is not specific to scriptaculous but you may be having the same problem. Peter On 8/25/06, Lukas.Mathis <[EMAIL PROTECTED]> wrote: > > 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 -~----------~----~----~----~------~----~------~--~---
