View Single Post
Old 04-08-2010, 06:19 PM   PM User | #7
Student23
New to the CF scene

 
Join Date: Mar 2010
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Student23 is an unknown quantity at this point
Quote:
Originally Posted by Philip M View Post
As this is an anchor link you cannot use a button, but you can use an image:-

<p align="center"><a href="#pagetop"><img src="topPage.gif" width="54" height="29" border="0"></a></p>

and at the top of the page put

<a name="pagetop"></a>

If you insist on a button you can make an image which looks just like a button.

You can use a button to link to another page:-

Code:
<form>
<input type ="button" value = "Go to Google" onClick="parent.location='http://www.google.com'">
<form>
What about linking to the same page instead of another page?

Quote:

<form>

<input type="button" value="Go to Top of the Page" onClick="parent.location='home1.htm'">

</form>
It works perfectly fine now!
Student23 is offline   Reply With Quote