The problem with my floating divs not being draggable correctly has been
solved by removing a line of code from the ui.draggable.js file.
line 113: 
if(this.offsetParent[0] == document.body && $.browser.mozilla) po = { top:
0, left: 0 };           //Ugly FF3 fix
Well it seams the ugly FF3 fix is not only ugly but not always the right
choice.


yabblo7 wrote:
> 
> I have changed my page a bit to add a div at the bottom of all my divs in
> the scrolling tabled div that has height=100%, width=100%, z-index=2,
> top=0, left=0 and now the resizable works correctly when I've placed my
> movable timeslot divs inside of it.  Now I'm having the same problem of
> the draggable causing an initial offset to the drag by not recognizing the
> amount of scrolling that has been done in the surrounding table.  
> 
> This makes sense since the table surrounding a div trick allows me to keep
> position=absolute divs in a fixed position on the div and be able to
> scroll it.  Still, there should be away around this I would imagine.
> 
> 
> 
> packman wrote:
>> 
>> 
>> I am having this same problem but adding position:relative makes the
>> issue worse in my case. The behavior I get is that I can drag the item
>> and the viewport will scroll and I can drop the item. Then if I try to
>> reposition or resize the item it will first drop to the bottom of the
>> page as if the number of pixels that the viewport is scrolled gets
>> added to the current position. Then if I try to move it again it jumps
>> to the top of the page to what appears to be the position it was
>> dropped in minus the distance the view port was scrolled. I haven't
>> made exact measurements but the movements all seem to be relative to
>> the distance that the viewport is currently scrolled. I will play with
>> it some more and try to get some more exact info but if anyone has any
>> thoughts please let me know. EC
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/divs-get-magically-repositioned-when-using-draggable-and-resizable-inside-a-scrolling-div-tp19579938s27240p20111760.html
Sent from the jQuery UI Discussion mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" 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/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to