It's not a JavaScript function, it=E4s a method of the browser.
Hence you can call showModalDialog with JavaScript in Internet Explorer.
The Netscape DOM doesn't offer something like that.
However, take a look at this, it might help you:
http://p2p.wrox.com/javascript/faq.asp#no45
/Robert
-----Original Message-----
From: Ganesh Ramamurthy [mailto:r_ganesh76@h...]
Sent: Thursday, January 23, 2003 6:05 AM
To: javascript
Subject: [javascript] Opening a modal Dialog through JavaScript
I am using JavaScript to popup a Modal Dialog in my application.
I am using window.showModalDialog(url) to open the window. (This is
JScript and not JavaScript) hence I cannot use it with Netscape. Can
anyone tell me what JavaScript function can be used for this
Regards
Ganesh