On Fri, Jan 23, 2009 at 1:41 PM, dbonneville wrote:
>
> Hi - I'm somewhat new to jQuery and am fiddling with the UI library. I
> need a modal dialogue that has the escape disabled, or at least the
> ability to perform a function if the user hits the escape key (like
> send them to another page).
Good point. Dialog width and height options expect integer pixel values.
- Richard
On Tue, Jan 6, 2009 at 9:25 AM, Fontzter wrote:
>
> I don't know if this is the issue, but I had some dialog sizing issues
> after upgrading to 1.6rc4. I found that my problem was using a string
> (ex. '250px')
I don't know if this is the issue, but I had some dialog sizing issues
after upgrading to 1.6rc4. I found that my problem was using a string
(ex. '250px') in the dialog initialization. I changed these to
intigers (ex. 250) and it fixed the issue.
Dave
On Jan 5, 8:09 pm, "Richard D. Worth" wr
Have you tried 1.6rc4? There were a number of dialog sizing changes in it.
- Richard
On Mon, Jan 5, 2009 at 7:03 PM, jack wrote:
>
> So, is it a bug?
>
>
> Jack
> >
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
So, is it a bug?
Jack
--~--~-~--~~~---~--~~
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+unsub
In this case it works. The size of dlg_u is "height: 230px; width:
360px;". So it could be defer-setting size causes the problem.
Actually, do we need to set the size of content? As my work arround, I
remove the style, which only just the size is specified, of content.
It still work perfectly. Tha
Does this work?
var dlg_u = $('').dialog({
autoOpen: false,
resizable: false,
modal: true,
title: 'xxx',
width: 360,
height: 250,
buttons: {
Update: function(){submit2_update('z');},
Cancel: function(){$(this).dialog('close');}
}
});
- Richard
On Mon, Dec 22, 2008 at 12:1
Thank you, Richard
I don't know how to use http://jsbin.com/. Anyway the problem is quite
simple. The width and height I set with "dlg_u.data('width.dialog',
600); dlg_u.data('height.dialog', 500); " has no problem. The dialog
box show exactly the size. By using FIreBug you can find the size of
Ooops! Thanks for pointing this out Richard.
Best,
Nik
On Wed, Dec 17, 2008 at 11:41 AM, Richard D. Worth wrote:
>
> On Wed, Dec 17, 2008 at 3:53 AM, Nikhil Gupta <
> nikhil.nikhilgu...@gmail.com> wrote:
>
>> Hi
>>
>> I dont think you can manipulate dialog properties programatically once you
>>
Jack,
Nothing in your code is jumping out at me as being the issue, though I don't
know what version you're using. Could you put together a minimal test page
that shows the issue? (some sites to post to, if you don't have one:
http://jsbin.com/ or http://paste.pocoo.org/ ) In that vein, may I sugg
On Wed, Dec 17, 2008 at 3:53 AM, Nikhil Gupta
wrote:
> Hi
>
> I dont think you can manipulate dialog properties programatically once you
> have created a dialog.
Actually, this is supported. And in just the way Jack has shown
$("#myDialog").data("width.dialog", newWidth)
$("#myDialog").data("he
Hi
I dont think you can manipulate dialog properties programatically once you
have created a dialog. The only way I could think of is to specify a min
height and a min width while creating the dialog.
Best,
Nik
On Wed, Dec 17, 2008 at 7:26 AM, jack wrote:
>
> Hi all
>
> I found a problem about
12 matches
Mail list logo