Hi,
My problem in a nutshell:
I have a div ('imageDiv') where an large (850x1200) image is displayed
(div has css('overflow', 'auto');).
In this div i have one or more litle div's that have no background
just a red border. ('boxDiv1', 'boxDiv2', 'boxDiv3', etc...).
Resizable and other UI plugins work just fine but when i scroll down a
bit (with the scrollbar from 'imageDiv')
and try to resize the 'boxDiv1' the top suddenly jumps n pixels up
(where n is most likely $('imageDiv').scrollTop(); )
I'm not JavaScript expert but my guess is that
[code]
if (o.containment) {
curleft += $(o.containment).scrollLeft() || 0;
curtop += $(o.containment).scrollTop() || 0;
}
[/code]
(ui.resizable.js @ Line 235 (in '_mouseStart: function(event)' ))
Is not returning the right top value.
Tested this in Firefox 2.0.20 and 3.0.14 using jQ ver. 1.3.2 and UI
ver. 1.7.2.
Ow and i tried to google for this but came up with nothing usefull.
Thnx for reading!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---