I have a few buttons in various places throughout my site that, when clicked, go to a page. I would like to have a 'Back' button that would to take the user back to the previous page (the page where the button was clicked). Can someone tell me what the code for this is, it's probably very simple but I can't find it.
Does it means: i want to manage browser history?
No, simply return to the page where you clicked the button.
This discussion seems close to your problem: Adding One Event (Touch) at Different Times to One Symbol?
Where am i? sym.getDuration().
Conditional statements as: If currentPage == page 2 then i go to page 1 using seconds or labels.