Back Link

General ShopSite user discussion

Back Link

Postby midfin » Fri Oct 31, 2008 11:58 am

Is there a way to put a "back" link on the product more info page?

Thanks!
midfin
 
Posts: 31
Joined: Fri Sep 05, 2008 11:58 am

Postby dfresh122 » Tue Nov 04, 2008 12:40 pm

I put this code in my footer and then just made sure the footer box was checked to show on all my more info pages. You can change the word "BACK" to a link to an image if you wish.

This will send you back 1 page.

<a href="javascript:history.back(-1)">BACK</a>
dfresh122
 
Posts: 2
Joined: Tue Nov 04, 2008 11:10 am

Back Link

Postby BFChris » Tue Nov 04, 2008 2:33 pm

The Javascript history works fine if the person navigated to the page in the natural manner (ie. from the Main Product page) but really does nothing different than the browser's Back button would do.

More interesting and useful would be the ability to link back to the main Products page from the MoreInfo page if the person arrived at the MoreInfo page via an external link.

This would be particularly useful if, for example, the MoreInfo page was being used as a pop-up window and did not have full navigation included.

I still haven't figured out a way to do this, though, except perhaps a manual bit of link code.
~~Barefoot Chris
--------------------------------
Barefoot Chris Web Design
www.barefootchris.net
--------------------------------
BFChris
 
Posts: 322
Joined: Mon Oct 09, 2006 3:28 pm
Location: PA


Return to User Forum

Who is online

Users browsing this forum: No registered users and 72 guests

cron