The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

showModalDialog

Posted by Sangeeta on February 02, 2001 at 2:28 PM

showModalDialog() will work only for IE 4.0 & onwards, whereas i want my dialog to also show up in Netscape. Also, can we load more than one document in this dialog window, like an asp page with a form and then its target page ?
>
> In fact, you don't need to use JSObject in applet if you want to just open a HTML page you can use
> getAppletContext().showDocument ( "URL of the page to show" ) ;

> getAppletContext () is a method of Aplet class. However, if you want to open a modal window then you can do that using JSObject as
> window.showModalDialog ( "your html page" ) ;

> You already know how to use JSObject. So instead using window.open() just call the above method and it woll open a modal window.

> Thanx
> Kishori






Replies:
  • jkjhk ujgykjk June 04, 2001 at 10:13 AM (0)

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us