to home page

BWRS
SEARCH

HOMETUTORIALSLINKSFORUMGLOSSARYNEWS
 
COOL TIPS >
CLOSE BUTTON    
Free music!
advertisement

How To Create a Link to Close your webpages

One of the problems with HTML is that there is no direct provision for a close link or button on a webpage which would shut the page down

Luckily for IE3 and Netscape v3 or higher browsers you can use a little JavaScript

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

will create this example link


this can obviously be adapted to include images like this

to see example

 

With Frontpage Express create a link as normal using text or image. Select properties and make sure your link is set as [other] then add in the URL: box

javascript:window.close();

With composer create a link as normal and plae the above line in the Link to a page location.... box

 


back to How to
BACK TO INDEX
Back to top