I don't have the code with me, but I found a javascript snippet that
redirects to a new url on the on click event of a button.  I had a couple of
complex multiple form pages that I needed a couple of extra buttons along
with a submit button in the same form.  This worked out really well.  I'll
post the snippet when I can get home and find it.  I suspect it'd be quicker
to go to one of the javascript sites.  I put the script just above the
button and the redirect was to the taf with the appropriate command line.

Hutch White
IT Development Specialist
Capital Pacific Homes, Inc.
1717 W. 6th St. , Ste. 140
Austin, TX  78703
Phone :     (512)320-8888
Fax :          (512)320-0724
Mobile :    (512)750-3346

-----Original Message-----
From: Scott Cadillac [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 01, 2002 10:20 AM
To: Multiple recipients of list witango-talk
Subject: Re: Witango-Talk: JavaScript Dialog with 3 buttons

Hi Dan,

> I Need to have a confirmation dialog (form) with 3 buttons: Yes, No,
Cancel.
> JavaScript has a standard one, but there's only two buttons on it...
> Any idea?

Unfortunately, JavaScript can't do this.

Other than just going with a customized HTML window, you could try a
VBScript MsgBox function:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/h
tml/vsconMsgBox.asp?frame=true
(Above URL may word-wrap).

Or you could try a Web Modal or Modeless Dialog box and build your own
buttons using HTML.

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/re
ference/methods/showmodaldialog.asp?frame=true
(Above URL may word-wrap).

Or checkout the Modal Dialog examples I have on my site:
http://xml-extra.net/webpage.xmlx?node=36
(Above URL probably won't word-wrap).

Of course, all my suggestions are MSIE specific.

Hope this helps. Cheers...

Scott Cadillac
http://xml-extra.net
[EMAIL PROTECTED]

http://witango.org
[EMAIL PROTECTED]

VP, Research and Development
Plus International Corp.
604-460-1843
[EMAIL PROTECTED]
http://www.plusinternational.com

Vancouver, BC, Canada

Does your company have an Enterprise Information Portal? Check out Salsa at
www.plusinternational.com/flash/salsa.htm

----- Original Message -----
From: "Dan" <[EMAIL PROTECTED]>
To: "Multiple recipients of list witango-talk" <[EMAIL PROTECTED]>
Sent: Saturday, June 29, 2002 10:34 AM
Subject: Witango-Talk: JavaScript Dialog with 3 buttons


> Hi everyone,
>
> A little question off topic, but it ain't the first time ;-)
>
> I Need to have a confirmation dialog (form) with 3 buttons: Yes, No,
Cancel.
> JavaScript has a standard one, but there's only two buttons on it...
> Any idea?
>
> Dan
>
> ________________________________________________________________________
> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>                 with unsubscribe witango-talk in the message body
>
>

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to