confirm window question

P

phil2phil

hi,
is there anyway to make certain text in the confirm window, the one
what comes up when i call confirm(text) in javascript? I'm displaying
a message in the confirm window to the user and wanted to make certain
text bold.
 
R

Randy Webb

phil2phil said the following on 11/10/2005 3:08 PM:
hi,
is there anyway to make certain text in the confirm window, the one
what comes up when i call confirm(text) in javascript? I'm displaying
a message in the confirm window to the user and wanted to make certain
text bold.

You can only tell it what text to use. You can not style it. If you want
a styled confirm window, then roll your own using a DIV tag, dynamically
positioned in the center of the viewport, and then use CSS to style it.
 
E

Evertjan.

Randy Webb wrote on 10 nov 2005 in comp.lang.javascript:
phil2phil said the following on 11/10/2005 3:08 PM:


You can only tell it what text to use. You can not style it. If you want
a styled confirm window, then roll your own using a DIV tag, dynamically
positioned in the center of the viewport, and then use CSS to style it.

Or use overlib

<http://www.bosrup.com/web/overlib/>
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,678
Members
48,796
Latest member
Greg L.

Latest Threads

Top