| Author |
change font size or color in javascript alert box
|
Raji ram
Greenhorn
Joined: Oct 14, 2003
Posts: 19
|
|
Hi, Have any of you tried changing the font size or color in javascript alert box. If so, can you please share it with me? Thanks, Raji.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56529
|
|
Sorry. No can do. bear
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Ashok Mash
Ranch Hand
Joined: Oct 13, 2000
Posts: 1936
|
|
|
A workaround is to write a function to produce a window of your own font and color, name it 'alert()' (with proper parameters ofcourse) and make it available globally. In effect, it overrides the default alert dialog, and it worked well for me.
|
[ flickr ]
|
 |
Raji ram
Greenhorn
Joined: Oct 14, 2003
Posts: 19
|
|
Thanks Ashok. Will try that. Regards, Raji.
|
 |
 |
|
|
subject: change font size or color in javascript alert box
|
|
|