RE: How to set option buttons to go direct to another URL
- From: Sarah0824 <Sarah0824@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 1 Apr 2008 21:01:00 -0700
I have done what you are looking for on my site. However, you cannot do this
in Publisher. Here is the code you can use - you will have to insert an HTML
fragment and put this code in:
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Wayne Nolting (w.nolting@xxxxxxxx) -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
function go(loc) {
window.location.href = loc;
}
// End -->
</script>
<form name="form">
<input type="radio" name="loc"
onClick="go('http://www.summitcts.com/index_files/check_cash_invoice.htm');">
Register for Class (Check, Cash, or Invoice)<br>
<input type="radio" name="loc"
onClick="go('http://www.summitcts.com/index_files/creditcard.htm');">
Register for Class (Credit Card or PayPal)<br>
<input type="radio" name="loc"
onClick="go('http://www.summitcts.com/index_files/login.htm');"> Register for
Class (Corporate Pricing - Requires Login)<br>
<input type="radio" name="loc"
onClick="go('http://www.summitcts.com/index_files/payments.htm');"> Pay an
Invoice<br>
</form>
<!-- Script Size: 1.14 KB -->
Of course you will need to change the information to your own. Good luck!
"Panos" wrote:
I want to set up option buttons from the form controls and when someone.
select one of the options to direct him in another URL ( like hyperlink ) but
this must be automatically,when he press the small cirlce button to load the
new page
- Follow-Ups:
- Prev by Date: Re: pix are posting to all pages
- Next by Date: Re: Allow visitors to upload files
- Previous by thread: Re: How to set option buttons to go direct to another URL
- Next by thread: Re: How to set option buttons to go direct to another URL
- Index(es):
Loading