The site I am building includes news items that display via Ditto calls on a couple of different pages. When the link for a news item is clicked, a new page opens in order to display the content for that item. I would like to add a ’back’ link in the template that is used to format these news items so that site viewers can return to the previous page. I tried using the code below, but it seems to be unreliable. Any suggestions on how to include a reliable back link in this context?
<a href="#" onClick="history.go(-1);return true;">Back</a>
Thanks.