fr0nt
03-19-2003, 11:35 AM
-->begin
Hi,
am having trouble linking to another page that is on another frame in the same window. I am now using:
<input type=button value="Go right!" OnClick="parent.frameNavig()">
the function is:
<SCRIPT LANGUAGE="JavaScript">
function frameNavig() {
frames['right'].window.location="main-nav.html";
}
</SCRIPT>
all this already work but i dont how to make it work with a simple picture.
Also I want to be able to link to another page without having to call more functions.. is it possible to just call 1 function and make my tell-a-friend.html and my other pages to load automatically when i click on the picture link to my right frame?
-->end
This is a litle script that maybe will help you if you use frames in yur web site. If browser do not support frames, load main page into entire window...cool!.
//<-- place this before the <HTML> tag at the top of the page
<%
If Not(objBCap.frames) Then Response.Redirect "main_" & strBrowser & "you_main_page.html"
%>
Hi,
am having trouble linking to another page that is on another frame in the same window. I am now using:
<input type=button value="Go right!" OnClick="parent.frameNavig()">
the function is:
<SCRIPT LANGUAGE="JavaScript">
function frameNavig() {
frames['right'].window.location="main-nav.html";
}
</SCRIPT>
all this already work but i dont how to make it work with a simple picture.
Also I want to be able to link to another page without having to call more functions.. is it possible to just call 1 function and make my tell-a-friend.html and my other pages to load automatically when i click on the picture link to my right frame?
-->end
This is a litle script that maybe will help you if you use frames in yur web site. If browser do not support frames, load main page into entire window...cool!.
//<-- place this before the <HTML> tag at the top of the page
<%
If Not(objBCap.frames) Then Response.Redirect "main_" & strBrowser & "you_main_page.html"
%>