How can i use an icon to work as refresh button or back button from the toolbar?

I am creating a customized theme. Now in the toolbar i want to keep some icons (images) for going to the previous page, refreshing the page, going to home page and logout.How can i get the fuctionality, can anyone please help? I found that there is dojo function call .dijit Toolbar. can i use that to get this functionality? if i can then how to use this function?
2 answers

There are built-in button widgets for closing the current page (going back) as well as signing out. They are called, aptly, the "Close page button" and the "Sign out button".


You should use these and then style if necessary using CSS. Buttons have an option to add icons or images to them, and CSS will let you make them look any way you want.