|
Re: Form buttons
You need to really simplify it, as what you are writing is far too much for what you want to do.
The simplest way of directing people to a new page is a standard text link like so:
<a href="http://www.site.com/page.htm">link text</a>
Change the blue text to where you want the link to go, and the red text to whatever text or pictures you want to appear.
if you want to use a button instead of text or pictures you can just do:
<input type="button" value"button text" onclick="javascript:window.location='http://www.site.com/page.htm'">
Again blue text tells the browser where to go and the red text changes what the button says.
To close the window do:
<input type="button" value="close this window" onclick="javascript:window.close()">
And change the red text to what you want to say.
|