Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

linking url's


joepesci

Recommended Posts

Hello

 

What i am trying to do is link the continue shopping icon and other buttons to go back to the last html page they were called from.

 

So i figured out how to make them go back to the html home page, by doing this

<a href="http://www.qualityclox.com"> <img border="0" src="http://qualityclox.com/catalog/includes/languages/english/images/buttons/button_continue_shopping.gif" width="166" height="22"></a>

 

But how do i make it remember on which page exactly it was called for example it was called from:

http://www.qualityclox.com/clocks.htm or any sub page.

 

thanks

Link to comment
Share on other sites

Hello

 

What i am trying to do is link the continue shopping icon and other buttons to go back to the last html page they were called from.

 

So i figured out how to make them go back to the html home page, by doing this

<a href="http://www.qualityclox.com"> <img border="0" src="http://qualityclox.com/catalog/includes/languages/english/images/buttons/button_continue_shopping.gif" width="166" height="22"></a>

 

But how do i make it remember on which page exactly it was called for example it was called from:

http://www.qualityclox.com/clocks.htm or any sub page.

 

thanks

 

Change the code to this

 

<a href="#" onClick="history.go(-1)"> <img border="0" src="http://qualityclox.com/catalog/includes/languages/english/images/buttons/button_continue_shopping.gif" width="166" height="22"></a>

 

Steve

 

(for the record, what this is doing is pretty much the same as hitting the "back" button on your browser)

My Toolbox: Crimson Editor, Adobe Photoshop CS2.0, Expression Web, Macromedia Suite 8.0, Cinema 4D, Nvu.

Link to comment
Share on other sites

Change the code to this

 

<a href="#" onClick="history.go(-1)"> <img border="0" src="http://qualityclox.com/catalog/includes/languages/english/images/buttons/button_continue_shopping.gif" width="166" height="22"></a>

 

Steve

 

(for the record, what this is doing is pretty much the same as hitting the "back" button on your browser)

 

 

what it does it goes back to this url : http://qualityclox.com/catalog/#

 

that weired

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...