Daily web design tips

Tuesday, March 14, 2006

Dreamweaver button to close window

A close window button on your website is a great feature to have especially if you are using popup windows for any reason, and using Dreamweaver makes it very easy to add it to your site.

Switch to code view in Dreamweaver and copy the below code into the location you want the button to appear..

<a href="javascript:window.close()" title="click here to close the window">Close window</a>

This will display "Close Window" once clicked will close the window.

Step by step tutorial to add close window button in Dreamweaver

0 Comments:

Post a Comment

<< Home