Topic awaiting preservation: custom confirm box buttons (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: canada |
posted 11-09-2002 00:37
the default buttons are 'OK' and 'Cancel'. Can we specify our own text on the buttons like 'yes' and 'no' or whatever? |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 11-09-2002 00:58
Nope. |
Maniac (V) Inmate From: out of a sleepy funk |
posted 11-09-2002 06:00
that's a good one |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 11-09-2002 06:05
Oh, Form buttons can be changed. But I believe he's referring to the buttons on the dialog created by the JavaScript confirm() function. Those can't. |
Obsessive-Compulsive (I) Inmate From: |
posted 11-10-2002 04:57
One get-around would be to create a layer which pops up (instead of the confirm box) when whatever action is executed. Then you can make the layer to whatever style(s) that suits your preference. |
Maniac (V) Inmate From: out of a sleepy funk |
posted 11-10-2002 05:54
whoopsie, I should've realized something was wrong with my thinking when I thought Slime was being sarcastic, and hilarious. |
Nervous Wreck (II) Inmate From: uk |
posted 11-11-2002 04:10
Interesting.. I made this script a few weeks ago to build a custom alert box. The idea was to start out by making it resemble a windows alert and then once it was working, work on the styling... never got round to finishing it though.. |
Nervous Wreck (II) Inmate From: canada |
posted 11-11-2002 05:18
thanx all. |