Click to See Complete Forum and Search --> : can we close a notitle window


robert william
August 24th, 2002, 03:14 AM
hi experts,
i want to close a without titlebar window.shall we?
here is my code.
<html>
<script language="javascript">
var noheader;
function open_w_wiout_title()
{
noheader=window.open('window_withoutheader.html','win_wh','fullscreen=yes,toolbar=0,resizable=1,status=1,menubar=0,directories=0,location=0');
noheader.resizeTo(1045,25);
noheader.moveTo(0,620);
}
function close_window()
{
window.close('noheader');
}
</script>
<a href='#' onclick='open_w_wiout_title();'>openwindowwithoutheader</a>
<br>
<a href='#' onlclick='close_window();'>closewindow</a>
</html>
when click on closewindow link i want to close the window noheader.
any help we will be very much appreciated