|
|
|
|
"while i was going through my site i got fed up of the stock osc back buttons taking me back to a page i had never gone to,
so i decided to change all the stock osc back buttons code to javascript. Its the same code that browsers use, so will work in any browser that has a back button.
all u need to do is open up any pages that have a back button on them, find the line of code that includes the back_button.gif (usually near the bottom) and just replace with this line :
<td align="left"><A HREF="javascript:history.back()"><?php echo tep_image_button('button_back.gif', IMAGE_BUTTON_BACK); ?></a></td>
it will still use your buttons from osc (so no need to worry about that !
it can also be used to add back buttons to your , contact us,shipping,privacy,etc... pages like ive done. take a look at:
i hope this small contrib will be useful to someone! this is my first contrib but i found it usefull so someone who dosnt know a lot about coding might also." |
|
|
|
 |
| For more information, visit the official osCommerce contribution webpage. |
 |
|
|