PDA

View Full Version : Link = "Back button" ?


chrisowen
08-20-2009, 12:13 AM
I was wondering if there is a way to create a link on a page (either text or image) that would serve the same purpose as the "back button" in the nav bar: i.e. - regardless of what page you where viewing before you click on another in the site, the link would take you back to that previous page you where on.

DWcourse
08-20-2009, 12:23 AM
<a href="javascript: history.go(-1)">Back</a>

chrisowen
08-20-2009, 12:29 AM
Sorry to pester, but I'm new to coding over the last 12 months - where would I insert the code?

Thanks

DWcourse
08-20-2009, 12:53 AM
In the code view. Where ever you want the link.

chrisowen
08-20-2009, 01:10 AM
Thanks you, got it working now. thanks for the help