change position of alert()-is it possible?

Discussion in 'Javascript' started by Montezuma's Daughter, Oct 28, 2008.

  1. Hi All
    I want to change the position of alert() msg . is it possible to
    manipulate it like other windows?
    thanks
     
    Montezuma's Daughter, Oct 28, 2008
    #1
    1. Advertising

  2. Montezuma's Daughter wrote:

    > I want to change the position of alert() msg . is it possible to
    > manipulate it like other windows?


    No, but some browsers (IE, Firefox 3 at least) support
    window.showModalDialog
    https://developer.mozilla.org/En/DOM/Window.showModalDialog where you
    can build the dialog contents as HTML document and where you can provide
    details like the dialog position as the argument.


    --

    Martin Honnen
    http://JavaScript.FAQTs.com/
     
    Martin Honnen, Oct 28, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mersh
    Replies:
    0
    Views:
    527
    Mersh
    Mar 13, 2007
  2. Ganesh
    Replies:
    0
    Views:
    586
    Ganesh
    Jun 29, 2007
  3. Matt
    Replies:
    3
    Views:
    1,970
    kaeli
    Oct 25, 2004
  4. Íõ•
    Replies:
    0
    Views:
    112
    Íõ•
    Jan 14, 2005
  5. geevaa
    Replies:
    3
    Views:
    246
    Captain Paralytic
    Apr 25, 2008
Loading...

Share This Page