I have added a back form button to my website, which works great, but i am wondering if it is possible to replace it with a home button if a visitor has just landed on my website.
This is my form button:
<FORM><INPUT VALUE='Back' id='backbutton' onClick='history.go(-1);return true;' type='button'/></FORM>
and i want it to be replaced by this if visitors have just landed on my website:
<FORM><INPUT VALUE='Home' id='homebutton' onClick='href="http://www.gamer4eva.com/"' type='button'/></FORM>