File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Position of alert Box on browser window?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Position of alert Box on browser window??" Watch "Position of alert Box on browser window??" New topic
Author

Position of alert Box on browser window??

Bikash Paul
Ranch Hand

Joined: Dec 04, 2001
Posts: 342
Hi all friends,
Is it possible to change the position of pop up alert box on browser means I want that alert box should pop up right top corner of browser window so that I can set the 'top' and 'left' position of alert box.If it is possible Can any one plz give me the code for that.
Regards
Bikash
Garann Means
Ranch Hand

Joined: Jan 28, 2002
Posts: 214
Bikash,
I'm pretty sure that you can't change the alert properties. As far as I know, the method only takes one argument (the message), and you have no hook into that alert box once you invoke it.
If you find a way, please share - I don't think it's possible.
g.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Hello,
sorry about not getting to you sooner, but i am very very very busy right now. I just wrote this up for you and others to customize an alert. I have only checked it with ie since I am not on my other computer with all of my fancy stuff. (Coded it all in Notepad, what fun)
the link: http://www10.brinkster.com/a1ien51/Customize/
Bikash Paul
Ranch Hand

Joined: Dec 04, 2001
Posts: 342
Hi Ian,
Lot of thanks for ur help.
Thanks
Bikash
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Position of alert Box on browser window??
 
Similar Threads
Building an Intellisensse editor(PLEASE HELP)
Pop up an alert or confirm message when the browser is closed
struts generated javascript (title bar contents changing)
prevent "control n" from opening a new browser window with an applet
Javascript - alert dialog box and text box