Closed Thread Icon

Topic awaiting preservation: alert boxes... (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=8122" title="Pages that link to Topic awaiting preservation: alert boxes... (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: alert boxes... <span class="small">(Page 1 of 1)</span>\

 
hecster2k
Nervous Wreck (II) Inmate

From: sj, ca, usa
Insane since: Feb 2002

posted posted 03-25-2002 22:21

when you create alert or confirmation boxes, it only gives you the option to click OK or CANCEL. is there any way to have this changed so that it displays "yes" and "no" ?

"there has to be a solution."

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 03-25-2002 22:55

Not with alert(), no.

ShootingStar
Maniac (V) Inmate

From: Kanada
Insane since: Mar 2002

posted posted 03-26-2002 03:27

vbscript instead of js http://www.javascriptkit.com/javatutors/vbalert3.shtml

Bugimus
Maniac (V) Mad Scientist

From: New California
Insane since: Mar 2000

posted posted 03-26-2002 03:33

But be aware of what that page says, "It's important to note that VBScript is supported only by Internet Explorer." If you need a cross-browser solution, then VBScript ain't it.

. . : newThing

ShootingStar
Maniac (V) Inmate

From: Kanada
Insane since: Mar 2002

posted posted 03-26-2002 04:19

Good point but if you read the text further down you'll read this:

quote:
To complete this tutorial, lets take the final example from the previous page, and make it cross browser functional:



i tried it in NS4 (works great) but did not try it in NS6.


Bugimus
Maniac (V) Mad Scientist

From: New California
Insane since: Mar 2000

posted posted 03-26-2002 04:34

DOH!!! Right you are, sorry. If the truth be known, I'm not a big fan of VBScript and admit to being biased.

. . : newThing

ShootingStar
Maniac (V) Inmate

From: Kanada
Insane since: Mar 2002

posted posted 03-26-2002 04:38

Not a problem..actually i'm looking at the script now... figuring out why the combo is required in IE but not in NS!

hecster2k
Nervous Wreck (II) Inmate

From: sj, ca, usa
Insane since: Feb 2002

posted posted 03-27-2002 18:26

cool, thanks!

bug, NICE GAME YOU GOT THERE!

"there has to be a solution."

« BackwardsOnwards »

Show Forum Drop Down Menu