Hi Richards,
As per the document i have updated my code like this.
Still it is not working. Please help me.
$(".liquidlayout").resizable(
{
autoHide:true,ghost:true,resize:function(ev,ui)
{
$("#tlrows").attr("value",$(".topcls-row").css("width"));
$("#mWidth").attr("value",ui.size.width);
//init();
//$("#debug").html(maxWid);
},
stop:function(ev,ui)
{
$('.topcls-row').resizable('option', 'maxWidth',550);
alert(ui.size.width);
}
});
$(".topcls-row").resizable(
{
alsoResize:".topcls-row",autoHide:true,resize:function(ev,ui)
{
$("#tlrows").attr("value",ui.size.width);
}
});
with Regards
sure
On Mar 5, 10:31 am, "Richard D. Worth" <[email protected]> wrote:
> Seehttp://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 <[email protected]> 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 [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
-~----------~----~----~----~------~----~------~--~---