I have a frameset with three frames:
[HTML]<html>
<head>
<title>Untitled </title>
</head>
<frameset rows="10%,*,10% " frameborder="1" >
<frame src="button.htm " name="button" />
<frame src="main.htm" name="Main" id="Main" />
<frame src="menu2.htm" name="menu-one" />
</frameset>
</html>[/HTML]
My research says to refer from 1 frame to another like this:
[HTML]<INPUT TYPE="button" VALUE="Titles Only" onClick="top.fr ames[0].location='main .htm' ">[/HTML]
When I try this I get
top.frames0 is not an object
Any suggestions?
[HTML]<html>
<head>
<title>Untitled </title>
</head>
<frameset rows="10%,*,10% " frameborder="1" >
<frame src="button.htm " name="button" />
<frame src="main.htm" name="Main" id="Main" />
<frame src="menu2.htm" name="menu-one" />
</frameset>
</html>[/HTML]
My research says to refer from 1 frame to another like this:
[HTML]<INPUT TYPE="button" VALUE="Titles Only" onClick="top.fr ames[0].location='main .htm' ">[/HTML]
When I try this I get
top.frames0 is not an object
Any suggestions?
Comment