Easy Open Browser Instance Question
I have learned that I can have the following in my initial Index.htm page...
<HTML>
<HEAD>
<script language="JavaScript" type="text/javascript">
<!--
function window_onload() {
window.open('HomeFrame.htm','_self','menubar=no,scrollbars=yes,toolbar=yes,location=no,directories=no,resizable=yes,top=0,left=0);
}
//-->
</SCRIPT>
</HEAD>
<BODY LANGUAGE=javascript onload="return window_onload()">
<P> </P>
</BODY>
</HTML>
This opens a window just like I need it (toolbar only - no menu, address bar, etc.) Then when I tried adding a window.close(); right after it I get the standard security feature of "The browser is trying to close this window..." which I don't want to occur.
My question:
Is there anyway I can open the first window looking like the second window I open? (then I wouldn't have to call window.open at all)
thanks for any help!
I have learned that I can have the following in my initial Index.htm page...
<HTML>
<HEAD>
<script language="JavaScript" type="text/javascript">
<!--
function window_onload() {
window.open('HomeFrame.htm','_self','menubar=no,scrollbars=yes,toolbar=yes,location=no,directories=no,resizable=yes,top=0,left=0);
}
//-->
</SCRIPT>
</HEAD>
<BODY LANGUAGE=javascript onload="return window_onload()">
<P> </P>
</BODY>
</HTML>
This opens a window just like I need it (toolbar only - no menu, address bar, etc.) Then when I tried adding a window.close(); right after it I get the standard security feature of "The browser is trying to close this window..." which I don't want to occur.
My question:
Is there anyway I can open the first window looking like the second window I open? (then I wouldn't have to call window.open at all)
thanks for any help!