Gossamer Forum
Home : General : Internet Technologies :

Re: [David_Rad] showModalDialog()

Quote Reply
Re: [David_Rad] showModalDialog() In reply to
Hello David_Rad,

See http://msdn.microsoft.com/.../showmodaldialog.asp

As per above MS link : " There is no public standard that applies to this method. "

I guess this may mean if the IE called function

vReturnValue = window.showModalDialog(sURL [, vArguments] [, sFeatures])

expects a URL then you may not be able to use a string or other JS type thingy instead.

but you can try , and then see if it works with old and new IE versions.

Show Modal is a pain in the rear as it has not been embraced for custom dialogs
for all browsers and all versions. There is no standard.
But Alert and Confirm windows are generally used by all browsers.

You could write a browser helper for IE and a NS plugin for NS to do this.
But it is a pain to write for all versions and each browser type and test it all.

A suggested work around :

Common to most browsers : Flash , I am not a flash expert !
--> Consider using a Flash Movie thingy to be this showModal Thingy.

ie The page that needs to have a show modal dialog is a flash page complete.
then this flash movie can call a show modal dialog and work in all browsers that allow flash.

except:
The above comments on flash are a guess from what I have seen from flash on the web.
I have not done this nor do I know how to do this at all. I am flash stupid.

thanks cornball
Subject Author Views Date
Thread showModalDialog() David_Rad 6351 Feb 3, 2004, 10:38 PM
Post Re: [David_Rad] showModalDialog()
cornball 6224 Feb 5, 2004, 7:14 PM
Post Re: [David_Rad] showModalDialog()
cornball 6213 Feb 5, 2004, 7:25 PM