Hi Sean,

Thanks for that... I'd tried that and it didn't work...  however i
worked it backwards and found a handy little function that outputs the
content of an object and found what I was looking for...  I actually
had to refer to them via:

this.resizeOptions.maxHeight

So I guess I'll have to do the same bit of investigative work for any
other plugins I want to do something similar with.

Thanks for the nudge in the right direction!

Cheers

Simon


On Apr 23, 5:12 pm, "Sean Catchpole" <[EMAIL PROTECTED]> wrote:
> Hello Simon,
>
> Yes, your onResize function can change the values of maxWidth. Here is
> an example:
> $('#resizeMe').Resizable(
>        {
>                minWidth: 50,
>                minHeight: 50,
>                maxWidth: 400,
>                maxHeight: 400,
>                // etc. etc.
>                 onResize : function(size, position) {
>                     this.maxWidth = size;
>                }
>        }
> )
>
> Please note that "this" needs to be pre-pended before the variable in
> order to access it.
>
> ~Sean

Reply via email to