free hosting
image hosting
hosting reseller
online album
e-shop
famous people
Radio Buttons As Links
A variation of this code is used in my
Windows Media Player popup jukebox
.
Here's how to use it instead of standard hyperlinks.
This section goes in the
head
section of your page(s):
And the following goes in the
body
section:
First Link
Second Link
Contact Anyone
When you click on a link, the function
radiolink
is called.
The parameter that is passed to the function is the name and location of your HTML page.
But it doesn't just have to be an HTML page.
As you can see from the bottom link above, it's a
mailto:
command.
This will open the user's default email program so they can send you a message!
The above code will open the page in the same window or frame.
To open in a
new
window, use this:
Try It Out
Open Test Page
Send E-mail
© 2001 CyberSchool
Last Update: