J
John O. Kopf
I have "inherited" a web site (http://www.scvcma.org/) that has grown
over the years and has become clumsy to maintain, with links to other
pages stuck here and there. I'm constrained to retain frames.
it's based on Frames (the Header frame, the Menu frame, and the View
frame); I want to change it over so different menus can be loaded. Since
each menu will have it's own main View page, I'd like to be able for
each menu to load that page into the View frame. I've tried using the
<BODY onload()> command within each menu to call a function to load that
menu's View page, but have had no success:
<BODY onload("LoadView()") >
where:
function LoadView( )
{
parent.View.location.href ="README.html";
}
....didn't work, nor did:
function LoadView( )
{
window.View.location.replace("README.html");;
}
....so, can someone tell me how to load a new html file into ab already
existing frame?
John Kopf
over the years and has become clumsy to maintain, with links to other
pages stuck here and there. I'm constrained to retain frames.
it's based on Frames (the Header frame, the Menu frame, and the View
frame); I want to change it over so different menus can be loaded. Since
each menu will have it's own main View page, I'd like to be able for
each menu to load that page into the View frame. I've tried using the
<BODY onload()> command within each menu to call a function to load that
menu's View page, but have had no success:
<BODY onload("LoadView()") >
where:
function LoadView( )
{
parent.View.location.href ="README.html";
}
....didn't work, nor did:
function LoadView( )
{
window.View.location.replace("README.html");;
}
....so, can someone tell me how to load a new html file into ab already
existing frame?
John Kopf