Accesskeys:

[`] Navigation, [s] Content, [=] Top of Page, [1] Home page, [3] Site map, [4] Search, [9] Quote Request, [0] Access key details

Next: Content. Select to move to navigation [`]

Pathway

Home arrow Developer Center

‘corePHP’ Developer Center

Close Window 

June 5th, 2006

Many people always come across this issue with popup windows, wanting to give the user a close button so that they can use that instead of the X up at the top.

Just by adding a “a href” tag you can easily and quickly achieve this.

The following code is a sample so customize it to what you need.


<a target="_top" href="javascript:window.close()">Close Window</a>

Leave a Reply

You must be logged in to post a comment.



Next: Navigation. Select to move to content [s]

Site Navigation


Basecamp project management and collaboration