Website Designers R Us - Home
Back and forward button

Sure you can ask your visitors to use their brower's BACK and FORWARD buttons to navigate your site. Wouldn't it be nice to have your own BACK and FORWARD buttons on your pages as in the following example:

 

 

All you have to do is place the following HTML tags on your page:

 
<FORM METHOD="post">

<INPUT TYPE="button" 
      VALUE="BACK" 
    OnClick="history.go( -1 );return true;">

<INPUT TYPE="button" 
      VALUE="FORWARD" 
    OnClick="history.go(  1 );return true;">

</FORM>
 
 

As you can see, we're simply using JavaScript's "history object" to go back and forward.

 
If you prefer hyperlinks to buttons, use following tags instead:
 
<A href="javascript:history.go(-1)">
Go back
</A>

<A href="javascript:history.go(1)">
Go forward
</A>
 
Return to Listing

Website Designer R Us has over 12 years of IT experience and a focus on custom website design, web development and web hosting services. Our professional web design services will give your business the look and feel needed to beat your competitors! Our website design services include; web design, website redesign, website maintenance, web development, flash animation, eCommerce, shopping carts, domains, web hosting, search engine optimization, graphic design, logo design, blog writing, script installations & much more!
 Home          ::             About Us          ::             Support            ::             Services            ::             Link Partners          ::             Contact

Copyright © 2006-2007 Website Designers R Us, a DOT Specialist Company. All rights reserved.