Sorry another problem Taran?

  murgle 19:21 02 Mar 2004
Locked

On my Website click here I have the menu to select different models of vehicle. If you select Honda CRV you will notice I have added a back to previous page button at the top and botton of the page.

If you select the previous page button, it goes back to the model selection page but it is not possible to select a different model without selecting a different make first.

Is there a page refresh script I could add?

Many thanks,

  Taran 20:07 02 Mar 2004

Not having looked closely at your site code this is off the top of my head and may not do what you want it to.

Try adding this into the Back button code:

onClick="history.go(-1)">

A normal form button would look something like this:

<INPUT TYPE="button" VALUE="Back" onClick="history.go(-1)">

The -1 bit tells the button how many pages to go back to.

Another possible solution could be to add in a location.replace JavaScript command.

location.replace('page_url_to_load');

Instead of using a history 'back' effect this says that when the button is clicked it will load up the specified page.

you can use it in a number of ways.

Text hyperlinks would look like this:

A HREF="javascript:location.replace('page_name.html')">Link text </A>

Food for thoguht ?

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Xiaomi Mi Mix 2 review

See mcbess's iconic style animated for Mercedes-Benz

iPhone X news: Release date, price, new features & specs

Black Friday 2017 : date, sites participants & bonnes affaires