Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

frontpage navigation buttons


  • Please log in to reply

#1
i love bubbles

i love bubbles

    Member

  • Member
  • PipPip
  • 58 posts
hello all
i am trying to finish off my webpage but i cant create a hyperlink for my backward and forward buttons on my page so that people can go back to the last page. i have some coding but i dont know where to put it in to make it work.

How do I create a "back" button or link on my site?

A.

There are several ways to do this.

You can create a hyperlink to an image or text using the following code:

<a href="java script:history.go(-1)">Back</a>
Note: (-1) means go back one page. So, for example (-2) would be go back two pages.

or:

You can use:
<a href='java script:history.back()'>Back</a>

For "Buttons" you can use:
<form method="POST" action="java script:history.go(-1)">
<input type="submit" value="Back" name="Back">
</form>

these are the coding linksi have please help
  • 0

Advertisements


#2
Neil Jones

Neil Jones

    Member 5k

  • Member
  • PipPipPipPipPipPipPipPip
  • 8,476 posts
Need to put the code in the actual code window in FrontPage, not the WYSIWYG editor. Normally a menu option allows you to toggle.
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP