I had/have the same problem Frank!

I changed my ui-1.6rc5.js and made it work, but I'm not sure if it'll
screw something else up.. It hasn't yet anyway :-D

Here's how if you get the uncompressed file:

Open the jquery-ui-1.6rc6.js file
Go to line 2267
This is the bad guy -> var woset = Math.abs( (self._helper ?
self.offset.left - cop.left : (self.offset.left - cop.left)) +
self.sizeDiff.width )........

But instead of deleting it, I just added a new declaration of the
variable "woset", so it now looks like this:

var woset = Math.abs( (self._helper ? self.offset.left - cop.left :
(self.offset.left - cop.left)) + self.sizeDiff.width ),
          hoset = Math.abs( (self._helper ? self.offset.top -
cop.top : (self.offset.top - co.top)) + self.sizeDiff.height );
woset = self.position.left;
^ last line is mine.


On 23 Jan., 16:17, fakingfantastic <[email protected]> wrote:
> Apologies if I am not following any certain etiquettes of the list.
> This is my first mailing-list post, ever, so bare with me.
>
>  I created a containing div ".tb_container", gave it a width, height
> and border for clarity. On page load, I will append a div, ".resize",
> inside of .tb_container. I will then add .resizable() to .resize with
> left and right (w & e) resizability and contain it to it's parent,
> which i assume is .tb_container. Then, i add .draggable(), with left &
> right draggability (w & e) and contain it to its parent.
>
> I've confirm that this set up works relatively well. 
> (seehttp://franklakatos.com/resizeBug-nomargin.php)
>
> Now, the curve ball. I wanted to position this layout. So, i added a
> margin-right or 200px, and that's when resize bugs 
> (seehttp://franklakatos.com/resizeBug.php) . You will observe that you can
> only resize to the right so far now. The exact distance you can't
> resize into is 200px, the amount of margin i put on the right of the
> container.
>
> It seems as if UI looks to the width of the parent (.tb_container) to
> find out how big you should be able to resize div.resize. It does that
> correctly. Unfortunately, it seems as though it only let's you resize
> it starting from PAGE-left and not container (.tb_container) left.
>
> Please help me solve this because I have been working at this since
> 1/15/09. You can email me, irc me at fakingfantastic, google talk me
> at [email protected], or obviously respond here.
>
> Thanks so much
> Frank

--~--~---------~--~----~------------~-------~--~----~
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