www.webdeveloper.com
Results 1 to 2 of 2

Thread: How to position javascript Alert and Prompt box?

  1. #1
    Join Date
    Aug 2005
    Posts
    38

    How to position javascript Alert and Prompt box?

    Whenever I use the Javascript Prompt, the pop up is showing up top left hand side of the screen. Is there a way that I can position this box in the center or anywhere on the screen? Does anyone know how to do this?

    Thanks in advance...

  2. #2
    Join Date
    Aug 2005
    Location
    Singapore
    Posts
    155
    No, you can't position the default dialog boxes. You can however, create a custom one and position that.

    http://www.anyexample.com/webdev/jav...lternative.xml
    [URL=http://www.samliew.com]Personal Website[/COLOR] | Programming Page

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles