Re: Customizing the browser window using JScript/Javascript

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Martin Honnen (mahotrash_at_yahoo.de)
Date: 06/13/04

  • Next message: John McGregor: "Javascript code for F11 key"
    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/
    

  • Next message: John McGregor: "Javascript code for F11 key"

    Relevant Pages

    • Re: Prefered Coding Language!
      ... Yes, ASP use, IMHO, ... a subset/superset of javascript called jscript. ... Netscape will continue to use ...
      (microsoft.public.inetserver.asp.db)
    • Re: JSCRIPT and JavaScript - newbie Q
      ... JScript and Javascript in IE and Netscape, respectively, are ... > standardize the behaviors in JScript and Javascript, ... "At Netscape, we use the term "JavaScript" as the brand name for our ...
      (comp.lang.javascript)
    • Re: Handle Leaks with Microsoft.XMLDOM
      ... > sure if the JScript version is the samething as the javascript ... ECMA docs are based on the description of Netscape 4.? ... Microsoft mainly goes by Internet Explorer versions: so JScript 5.5 was ...
      (comp.lang.javascript)
    • Re: JS 1.7 support: Who has it, etc.?
      ... JScript 5.7 for IE7 does exists but so far it updates 5.6 only on Vista ... JavaScript 1.0 for Netscape 2.x and JavaScript 1.5 being the current ... But this forum is not about ECMAScript - it is about Javascript. ... algorithm implementations. ...
      (comp.lang.javascript)
    • Re: Browsers browsers
      ... Internet Exlorer does not differentiate between JScript and Javascript. ... > There is a New Tab button which is handy once, ... opens in the background, ...
      (microsoft.public.scripting.jscript)