Window Close/ History Back questions

Inevitable2012

New Member
Question 1) Have created a popup window that is a help screen to assist in my new registration process. Need a text hyperlink (not an image) to close the pop-up when clicked. How do i do this?<BR><BR>Question 2) Have made a readmore page for the Events & Announcements modules. The page has a 'Back' text hyperlink to get back to the front page, but rather than specify an exact url i would rather get it to go back 1 in the history. What is the full syntax to achieve this?<BR><BR><BR>cheers,<BR><BR>si ;)You can just use regular HTML to close your window:<BR><BR><A HREF=http://aspmessageboard.com/archive/index.php/"" onClick="self.close">Click To Close</A><BR><BR>To go back in history, you can use something like this:<BR><BR><INPUT TYPE="button" VALUE="BACK" onClick="history.go(-1)">cheers Tomtt,<BR><BR>thanks for that, but for the second question how would you do that with just a text hyperlink rather than a button.Wouldn't you just use:<BR><BR><A HREF="" onClick="history.go(-1)">Back</A>
 
Back
Top