Thanks </Snook> but that's not it.
What I need is to have file2.html open (when called or clicked) and show up in a different window, for example [MAIN] frame of file1.html, so that the browser does not open a new window each time [alternatively I may just have to autoclose such new windows.
Code:
<html><head><title>file1.html</title></head>
<FRAMESET ROWS="5%,*">
<FRAME SRC="top.html" NAME=TOP SCROLLING=NO>
<FRAMESET COLS="10%,*">
<FRAME SRC="left.html" NAME=LEFT SCROLLING=NO">
<FRAME SRC="main.html" NAME=MAIN SCROLLING=NO">
<NOFRAMES>You have no frames?</NOFRAMES>
</FRAMESET>
</html>
Code:
<html><head><title>file2.html</title><script language="JavaScript">
//I want this file to open somewhere else without opening a new browser window
//These don't work: base target="MAIN" base target="_parent" base target="_parent"
<!--
function OpenSub()
{
window.parent.location='https://www.cia.gov/'; //just any https site
//-->
}
OpenSub()
</script>
</head><body></body></html>
Bookmarks