Hi converging rails,

You should set the Position.includeScrollOffsets to true so when
calculating the position of the element it take care of the "scroll
ofset".

--
david


On 17 oct, 14:15, converging rails <bagam.ven...@gmail.com> wrote:
> Hi all,
>           I have 2 divs "photos" and "albums". The albums is a
> scrollable div with overflow:auto to accomodate any no.of photos in
> it. These photos should be dragged into one of the albums in the album
> div. Multiple photos can be dragged into an album at a time.
>
> Now my problem is when I try to drag a photo onto an album contained
> in "albums" div, my phoots div scrolls along with the photo thus
> making it impossible to drag the photo into the albums. This is a
> recurrent issue on many forums but no finite solution is found.
>
> Any help appreciated.An example would be even more helpful.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to