Re: Customizing the browser window using JScript/Javascript
From: Martin Honnen (mahotrash_at_yahoo.de)
Date: 06/13/04
- Previous message: Slim: "Re: Customizing the browser window using JScript/Javascript"
- In reply to: Nathan Sokalski: "Re: Customizing the browser window using JScript/Javascript"
- Next in thread: bruce barker: "Re: Customizing the browser window using JScript/Javascript"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 13 Jun 2004 12:38:18 +0200
Nathan Sokalski wrote:
> That sounds great, but before I use it I would like to check on one thing:
> Does window.showModalDialog() work in both JScript and Javascript, or is it
> specifically for JScript? Because I did not see any methods similar to it on
> a Javascript help site that I looked at, I want to make sure my code will
> work for both browsers.
showModalDialog is a method of the window object in IE's object model, I
certainly know it works with IE/Win (and there it doesn't matter whether
you use J(ava)Script or VBScript), and according to the docs at
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/methods/showmodaldialog.asp
it also works with IE versions on other platforms.
As for other browser, Netscape 4, Netscape 6/7, Mozilla, Opera all do
not support that method.
-- Martin Honnen http://JavaScript.FAQTs.com/
- Previous message: Slim: "Re: Customizing the browser window using JScript/Javascript"
- In reply to: Nathan Sokalski: "Re: Customizing the browser window using JScript/Javascript"
- Next in thread: bruce barker: "Re: Customizing the browser window using JScript/Javascript"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|