RE: How to set option buttons to go direct to another URL



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
.


Loading