If I try the first I get this error: missing : after property id Line 1 $('#example1').dialog({modal: true, overlay: { background-color: 'gray', opacity: 0.5 } });
On Mar 30, 3:55 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrote: > By default the UI Dialog is not modal. You can make it modal be setting the > modal option to true. That also enables the overlay option, which you can > set to a css hash. Example: > > $(el).dialog({ > modal: true, > overlay: { background-color: 'gray', opacity: 0.5 } > > }); > > If you want to do it via a stylesheet: > > .ui-dialog-overlay { background-color: gray; opacity: 0.5 } > > - Richard > > On Sun, Mar 30, 2008 at 2:12 PM, Shelane <[EMAIL PROTECTED]> wrote: > > > Scott, can you expand on this? Without setting any options, it's not > > good for forms, but there are options to make it so? What setting for > > the "overlay" option or change to the stylesheet should be made? > > > On Mar 30, 5:51 am, Scott González <[EMAIL PROTECTED]> wrote: > > > The UI Dialog plugin defaults to a transparent overlay and can be > > > customized via the overlay option or stylesheets. > > > > On Mar 29, 4:56 pm, Rey Bango <[EMAIL PROTECTED]> wrote: > > > > > I want to build a modal window with a form in it but don't want to use > > > > the blacked out effect similar to many lightbox implementations. > > > > > What's everyone using for this type of functionality? > > > > > Rey...