Opera and Modal Dialogs

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sean Burns

    #1

    Opera and Modal Dialogs

    Hello, does anybody know how to open a dialog window in opera?

    I use window.showModa lDialog(....) for IE but Opera says "Expression did not
    evaluate to a function object: window.showModa lDialog"


    Thanks.
    Sean.


  • Martin Honnen

    #2
    Re: Opera and Modal Dialogs



    Sean Burns wrote:
    [color=blue]
    > Hello, does anybody know how to open a dialog window in opera?
    >
    > I use window.showModa lDialog(....) for IE but Opera says "Expression did not
    > evaluate to a function object: window.showModa lDialog"[/color]

    I don't think Opera supports opening modal dialogs from JavaScript.

    --

    Martin Honnen
    http://JavaScript.FAQTs.com/

    Comment

    • Lasse Reichstein Nielsen

      #3
      Re: Opera and Modal Dialogs

      "Sean Burns" <seanb@mailbox. co.za> writes:
      [color=blue]
      > Hello, does anybody know how to open a dialog window in opera?[/color]

      As in all other browsers: use the alert, prompt, or confirm functions.
      [color=blue]
      > I use window.showModa lDialog(....) for IE but Opera says "Expression did not
      > evaluate to a function object: window.showModa lDialog"[/color]

      The function showModalDialog is IE/Windows specific.

      /L
      --
      Lasse Reichstein Nielsen - lrn@hotpop.com
      Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit. html>
      'Faith without judgement merely degrades the spirit divine.'

      Comment

      Working...