Hi, I'm having a problem with using "Position.includeScrollOffsets = true" with a Draggable inside a scrolling layer - the draggable is positioned away from the mouse pointer when the layer things are in is scrolled down. I've used the includeScrollOffsets before successfully on a Sortable but am not having much luck with a Draggable in the same situation - does anyone know if there is anything that needs to be done differently?
Basic, very cut-down outline is:- <div id="main"> <ul> <li class="item">something</li> ... (etc) .... </ul> </div> (script) Position.includeScrollOffsets = true; $$('li.item').each(function(item) { new Draggable(item, {ghosting:true, scroll:'main'}); }); (css) div#main { position: relative; float: left; width: 75%; overflow: scroll; height: 100%; background-color: white; } --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---