Re: confirm window question
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: confirm window question

From: Randy Webb <HikksNotAtHome@aol.com>
Date: Thu Nov 10 2005 - 22:57:11 CET

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.

-- 
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Received on Mon Nov 21 03:24:52 2005