PDA

View Full Version : how can I create a button, to close his oun window and other to go back?


torvic
12-08-2006, 08:33 AM
how can I create a button, to close his oun window and other to go back?
this topic would make my site more understandable for all kind of people.
Thanks

wisemx
12-08-2006, 08:38 AM
Typically JavaScript is used to close a window:


<a HREF="javascript:self.close()"><small>Close</small></a>
To return to a page can be done via code or JavaScript history.

If you need examples please provide the code language you'll be using.