ordioxs / simplemodal

Automatically exported from code.google.com/p/simplemodal
0 stars 0 forks source link

Add a "non-modal" option when the web page is not to be disabled #27

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I know it might sound odd, but it would be very nice to have a "nonmodal"
option whereby the dialog box could open and still allow the focus to
include the web page.

My use case is online surveys. Some people will be interested in filling in
the survey form, but many others don't like surveys and will continue using
the web page they're viewing. By presenting a non-modal dialog box, their
user experience is enhanced. Consequently, when this option is used, I
would not want the web page to be grayed-out but instead to continue to
appear and respond to events normally.

Some ideas for the name for the new options are:
- nonmodal
- transient (see http://en.wikipedia.org/wiki/Modal_dialog )
- nofocus

Thanks for your consideration!

Original issue reported on code.google.com by hutch...@gmail.com on 18 Sep 2009 at 6:18

GoogleCodeExporter commented 8 years ago
My initial reaction to this was to not do it, but I've reconsidered and added 
the
feature (transient option).

One side-effect is that the iframe will not be shown on IE6 pages, which means 
that
form elements will bleed through the dialog.

I'll be committing the change soon, so once it is in, give it a try and let me 
know
what you think.

Original comment by emartin24 on 4 Dec 2009 at 11:37

GoogleCodeExporter commented 8 years ago
I added this in 1.3.4. Try it out and let me know if there are any issues.

Original comment by emartin24 on 11 Mar 2010 at 2:46