Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: Tunehead54
For the "Home" button, you could just use a link. Like this:

<a href="/index.html" target="_top">Home</a>
I woudln't mess with forms for this.

For the back button, you could do a button:


<button onClick="history.go(-1)">Back</button>
Or you could do a link:

<a onClick="history.go(-1)">Back</a>

13 posted on 11/03/2009 3:25:07 PM PST by cc2k (I have donated to David Harmer, have you? [check my recent reply posts])
[ Post Reply | Private Reply | To 1 | View Replies ]


To: cc2k
Yes Thanks! - As I said my back button works - I just thought the same form of statement could be used to do the home page reload. The direct A href statement works - I just have to use a "Form" to make a Home button - copy it and use it as the gif button - seemed kind of like cheating. ;-)

PS: I'm cheating anyway - I'm a jscript/cgi/.net newbie just trying to make a few things work! At least with straight html I don't have to cover instances where java is not enabled! ;-)

15 posted on 11/03/2009 3:44:12 PM PST by Tunehead54 (Nothing funny here ;-)
[ Post Reply | Private Reply | To 13 | View Replies ]

To: cc2k

Thanks - I may have to go that way but you know way more than I - Is there a parameter using either the “button onClick=” or the
“a onClick=” to load a straight url (http://www.mysite.com)?


16 posted on 11/03/2009 3:55:59 PM PST by Tunehead54 (Nothing funny here ;-)
[ Post Reply | Private Reply | To 13 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson