Emulate "Close" Button

B

Bruce A. Julseth

How do I emulate the web page "Close" Button, i. e. the "X" in the upper
right hand corner of each web page?

Thank you....

Bruce
 
D

DI

With text:

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


With a button:

<form>
<input type=button value="Close This Window" onClick="javascript:window.close();">
</form>
 
B

Bruce A. Julseth

Thanks. This looks like it'll do the job.

Bruce

DI said:
With text:

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


With a button:

<form>
<input type=button value="Close This Window" onClick="javascript:window.close();">
</form>
 
B

Bruce A. Julseth

Mike:

Thanks... Anything like what you suggested out there in the "freebie"
world?This is for my own home page stuff. I know $5.95 ain't much, but?

Thanks again...

Bruce
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top