I have a "Menu" frame and a "Main" frame.
At the start, "MyMenu.html" gets opened/displayed in "Menu" frame and "MyHomePage.html" gets opened/displayed in "Main" frame.
By clicking "Log-In" in the "Menu" frame, the user gets a Log-In form in the "Main" frame.
Upon completeing & submitting the Log-In form, "MyNewMenu.html" gets opened/diplayed in the "Menu" frame (replacing "MyMenu".html).
If the user clicks "Home" in "MyNewMenu", the original "MyMenu" gets opened/displayed in the "Menu" frame.
This is easily done by using:
<a href="MyMenu.html" target="menu">Home</a>
At this point I also want the original "MyHomePage.html" to be opened/displayed in the "main" frame but I don't know how to do this.
I thought of having a Javascript funtion in "MyMenu" with
a "onload="MyLoading()" in the "body" tag where the function
would open "MyHomePage.html" Target="Main" but I don't know the code for this file opening and I can't find any references for this.
Can you help? Not only would I like to know the code but also where I can find references for such code.
Many thanks.
At the start, "MyMenu.html" gets opened/displayed in "Menu" frame and "MyHomePage.html" gets opened/displayed in "Main" frame.
By clicking "Log-In" in the "Menu" frame, the user gets a Log-In form in the "Main" frame.
Upon completeing & submitting the Log-In form, "MyNewMenu.html" gets opened/diplayed in the "Menu" frame (replacing "MyMenu".html).
If the user clicks "Home" in "MyNewMenu", the original "MyMenu" gets opened/displayed in the "Menu" frame.
This is easily done by using:
<a href="MyMenu.html" target="menu">Home</a>
At this point I also want the original "MyHomePage.html" to be opened/displayed in the "main" frame but I don't know how to do this.
I thought of having a Javascript funtion in "MyMenu" with
a "onload="MyLoading()" in the "body" tag where the function
would open "MyHomePage.html" Target="Main" but I don't know the code for this file opening and I can't find any references for this.
Can you help? Not only would I like to know the code but also where I can find references for such code.
Many thanks.