PDA

View Full Version : Link = "Back button" ?


chrisowen
08-19-2009, 11:13 PM
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-19-2009, 11:23 PM
<a href="javascript: history.go(-1)">Back</a>

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

Thanks

DWcourse
08-19-2009, 11:53 PM
In the code view. Where ever you want the link.

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