#fcleft"> |
|
| | | | | | | | | | |
Many people have asked made how to create links that work in a button, thus I made this script. This script is sometimes made with HTML, but the HTML that is used is not compatible with some browsers while the Javascript version is compatible with all browsers.
The source..
<script language="Javascript">
<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com
function bulinker(where) {
top.location = where
}
//-->
</script>
<form>
<input type="button" onclick="bulinker('index.html')" value="Go to the Main Page"><br>
<input type="button"onclick="bulinker('http://www.geocities.com/~jsmaster/easyhtml')"
value="The EasyHTML Editor">
</form>
Color coding..
This is the URL of the place where you want the user to go when he clicks the button
This is the text that appears in the button
Copy this line to create other button linkers. And, of course, make sure that each is inside some FORM tags or it will not work.