Calling a frames page from a frames page
Posted on 2000-03-30
I have a frames page. The top frame is a navigation bar containing a dynamic drop-down menu using ASP. The botton frame contains the external page called by the drop-down. This works well in Explorer, but in Netscape only the header frame contents are displayed. When a new item is chosen from the menu Netscape opens a new (blank) window.
Since I am using ASP it is a little tricky since I have to try supress the browser rewriting the header frame after the new page is called. I use an "if" statement to see if the call is "new", and then write both the header and main frames. If the header has already been written then the if statment (originally) wrote only the main frame. Netscape did not like that so I changed the header to zero lines and allowed it to be rewritten. Netscape no longer had a problem with this.
But now Netscape attempts to open the frame in a new window. THe target frame is "_parent", but i havetried everything.