See http://docs.jquery.com/UI/Resizable#option-maxWidth
"
Get or set the maxWidth option, after init.
    //getter
    var maxWidth = $('.selector').resizable('option', 'maxWidth');
    //setter
    $('.selector').resizable('option', 'maxWidth', 250);
"

- Richard

On Wed, Mar 4, 2009 at 11:30 PM, sure <sure.2...@gmail.com> wrote:

>
> Hi all,
>         I am new to jquery ui plug in. Now i am working on the layout
> desgine using this plugin. I would like to set a maxWidth for layer,
> when the resizing the layer. Intially it is working fine. But, how can
> set maxWidth once i have done the resize.
>
> $(".topcls-row").resizable(
>                                {
>                                        alsoResize:".topcls-
> row",autoHide:true,maxWidth:rWid,resize:function(ev,ui)
>                                                {
>
>  $("#tlrows").attr("value",ui.size.width);
>                                                       // Here i would
> like to set the maxWidth.
>                                                }
>                                });
>
> Please help me to fix this problem.
> with Regards
> sure.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to jquery-ui@googlegroups.com
To unsubscribe from this group, send email to 
jquery-ui+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to