|
-
Feb 16th, 2001, 02:05 AM
#1
Thread Starter
Member
Hey Guy's
the heading say's it all .. I'm opening a Page using:
************
function Head(page) {
OpenWin = this.open(page, "CtrlWindow", "height=300,width=400,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no");
}
*************
Now I want to close the parent page at the same time .. is this possible? and how would I do this?
Thanks in advance!
-
Feb 16th, 2001, 07:15 AM
#2
Here is how to close a window.
Code:
<script language="javascript">
function closeWin()
{
window.Close();
};
</script>
<A HREF="javascript:closeWin();"
onMouseOver="window.status='Close the Window';return true";>Close Window</A>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|