Re: [jQuery] Using $.blockUI() to make modal dialog

2007-01-18 Thread Matt Grimm
:39 PM To: jQuery Discussion. Subject: Re: [jQuery] Using $.blockUI() to make modal dialog Stephen, I put up a sample page that shows how to use blockUI to display a modal dialog. This may help give you some ideas. http://malsup.com/jquery/block/dialog.html Mike

[jQuery] Using $.blockUI() to make modal dialog

2007-01-14 Thread Stephen Woodbridge
Hi all, I have been using $.blockUI with my ajax and image load events very successfully. Thanks this is a great tool. I need a modal dialog that ask if the user wants to save data or continue without saving. I created a div with two buttons the and click events on them to save or continue.

Re: [jQuery] Using $.blockUI() to make modal dialog

2007-01-14 Thread Christopher Jordan
Try the ThickBox plug-in. It's meant just for that sort of thing. :o) Cheers, Chris Stephen Woodbridge wrote: Hi all, I have been using $.blockUI with my ajax and image load events very successfully. Thanks this is a great tool. I need a modal dialog that ask if the user wants to save

Re: [jQuery] Using $.blockUI() to make modal dialog

2007-01-14 Thread Stephen Woodbridge
Yeah, I thought of using that or greybox but I'm already using blockUI and I'm trying to minimize the number of packages that I require. I would also like to understand why the simple test case works but fails when integrated into my application. Is this a bug or more likely a fundamental

Re: [jQuery] Using $.blockUI() to make modal dialog

2007-01-14 Thread Stephen Woodbridge
Mike Alsup wrote: For example, reading through the code it is not obvious to me how the function $.blockUI() blocks continued execution of javascript ... It doesn't. All blockUI does it put an iframe over the window and capture/discard keystrokes. The idea is to block the user from using

Re: [jQuery] Using $.blockUI() to make modal dialog

2007-01-14 Thread Mike Alsup
Stephen, I put up a sample page that shows how to use blockUI to display a modal dialog. This may help give you some ideas. http://malsup.com/jquery/block/dialog.html Mike ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Using $.blockUI() to make modal dialog

2007-01-14 Thread Aaron Heimlich
Pretty cool, Mike! Having the hourglass cursor inside the dialog is kinda annoying though... On 1/14/07, Mike Alsup [EMAIL PROTECTED] wrote: Stephen, I put up a sample page that shows how to use blockUI to display a modal dialog. This may help give you some ideas.

Re: [jQuery] Using $.blockUI() to make modal dialog

2007-01-14 Thread Mike Alsup
Pretty cool, Mike! Having the hourglass cursor inside the dialog is kinda annoying though... Good catch, Aaron - thanks. That style was bleeding through because I forgot to add the cursor style on the question dialog. It's fixed now. Mike ___

Re: [jQuery] Using $.blockUI() to make modal dialog

2007-01-14 Thread Aaron Heimlich
On 1/14/07, Mike Alsup [EMAIL PROTECTED] wrote: Good catch, Aaron - thanks. That style was bleeding through because I forgot to add the cursor style on the question dialog. It's fixed now. Thanks. -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com

Re: [jQuery] Using $.blockUI() to make modal dialog

2007-01-14 Thread Stephen Woodbridge
Mike Alsup wrote: Stephen, I put up a sample page that shows how to use blockUI to display a modal dialog. This may help give you some ideas. http://malsup.com/jquery/block/dialog.html Mike, Thanks! I'm sort of getting it. I think I need to reorganize my code to be less procedural and