View Full Version : Alert popup message size & color control
moni_kg
01-07-2003, 10:29 AM
hi brainy's
Can any 1 help me with the html code :
1. Modify the size of a alert message (popup message)
2. Change the colour of the background and the message (popup message)
think beyond
moni
ronaldb66
01-07-2003, 11:56 AM
First of all, that's a javascript question, not an HTML one.
Second, i doubt if there's anything to adjust about the alert message like you asked for; an alternative would be to open a new window, in effect a real pop-up, which would give full control over size, layout, etc. but that would be more of a challenge.
zoobie
01-08-2003, 04:04 AM
I think he means an alert which can't be colorized because it's set by the user in their display properties. On the other hand, you could add several &nbsp to make the box larger or add \n at the end of words to make it smaller:
Please\n
enter\n
your\n
email\n
address
Like ronald said, it's probably better to pop open a window or make an image of an alert for total style control. :D
missing-score
01-08-2003, 07:58 PM
You can make customised alert boxes, but not in JavaScript. You need to use the VBScript MsgBox function.
VBScript works only in internet explorer
cg9com
01-08-2003, 08:03 PM
true, but even vbscript msgbox cannot be color customized.
landon11
01-08-2003, 08:23 PM
if you decide to go with a popup, here is an example.
http://www10.brinkster.com/a1ien51/Customize/
missing-score
01-09-2003, 08:47 PM
True. Nice example.:thumbsup:
moni_kg
01-22-2003, 12:20 PM
Thnkx brain's
i would go in for a window
Think beyond
moni
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.