Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change position alert box !

Status
Not open for further replies.

JeroenB

Programmer
Apr 8, 2001
93
BE
Hi,

is there anyone who knows if it is possible to influence the position of a Javascript alert box ?
I want the determine the position of alert box dependent on the position of the current html (popup)window.

thanx
j
 
Yeh right,
but this popup-method is quite long-wided when dealing with multiple successive alert messages...

anyone ?

j
 
Make a nice function, all you have to do is pass it a string, and x-pos, and a y-pos, just like the alert!

Why, you could say
Code:
  myAlert("Hello World!", 45, 670);
just as easiliy as
Code:
  alert("Hello World");
right?

It's 1 am - someone else can help you from here - i'm goin to bed :)

Good luck! -gerrygerry
Go To
 
Hi

I have created an alert popup system that pops up a chromeless window that is movable and modal. Because it is an explorer window you can use HTML to make it look any way you want.

I have used multiple sources of code to create this, it's not original or unique but it is simple and effective.

Let me know if you want me to show you how to do this (if it suits your purposes).

Cheers
Richard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top