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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Alert message in two line..

Status
Not open for further replies.

yash

Programmer
Apr 9, 2001
46
IN
Hi All:
Can we pop Alert with message in two lines..

EX:
Alert Box:
----------------------------
Hello there
Welcome to our web site
Thanks for visiting
----------------------------

Regards and Thanks in Advance


 
EX:

alert(
"----------------------------\n"+
"Hello there\n"+
"Welcome to our web site\n"+
"Thanks for visiting\n"+
"----------------------------"
) Victor
 
It Works....
Thank you Victor !!
You are Great...
 
Hi again:
One more question:
Can we Change Font Size, Color for text in Alert Box
Also can we control postion of Alert Box on Screen..
Once again Thank you very much ..
Regards
 
If you need to go that far, you're probably better off using a popup window with a small html page to do the alert. I don't think you've got that much control over a standard alert box. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Thanks Tracy:
Can popup window with HTML will work like ALert Box.
Like you have to have close Alert Box before proceed.

Once again Thank you very much and Regards..
 
Not exactly like that, but you should be able to use some javascript to force the focus to stay with the window until they click on the button to close it. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top