How to create a “Back” button on a SharePoint Dashboard

Well, gotta love the power of smart friends. I’m more of an SMB/SharePoint Infrastructure guy, however, I do some SharePoint Development (not really in .NET, think of me as the go between, in Designer). Anyways, I needed to know how to create a ‘back’ button on a Specialized SharePoint site that was acting as a ‘kiosk’ of sorts. I needed a really big button, to take someone back to the page before and do it ‘gracefully’, in a SharePoint environment.  My own Google search didn’t turn up anything quick enough, so why not bother my peers, eh? 🙂

 

So, I asked my new friends in my SharePoint MVP circle/distribution group and badabing, 1 minute and 29 seconds later I had my first response with the rest clocking in at under 20 minutes (Can you FEEL The power of that connection? 🙂

 

Anyways, the suggestion that worked best for me is below…

 

How to create a ‘Back’ button in SharePoint

 

Approach A (using an image)

[html]<a href="#" onClick="history.go(-1)"><img src="linktoyourimage.gif" alt="Back"/></a> [/html]

Approach B (using a text link)

[html]<a href="#" onClick="history.go(-1)">Back</a>[/html]