|
suppose i got a web page. i want 2 create a link which closes the server window when i click on that link.I have seen them in some websires but how to do it ???
How to creatw hyperlinks in .HTML so that when we click on that link, the window closes ???
there is a function in javascript
<a href="javascript:window.close();">Close This Window</a>
It is simply javascript:window.close();
That closes the window (server)
How to creatw hyperlinks in .HTML so that when we click on that link, the window closes ???
use Namo web editor, there's a free trial
How to creatw hyperlinks in .HTML so that when we click on that link, the window closes ???
I can't seem to include HTML and Javascript in my answer here but here's a link to page that should help...
http://www.codeave.com/javascript/code.a...
How to creatw hyperlinks in .HTML so that when we click on that link, the window closes ???
this the right answer
<a href="javascript:window
.close()">Close</a>
|