Hai,
I have a page with several frames in it, in one frame a page with two frames is loaded.
From a frame in the main frame page i load two frames from the main page and two frames from the 'nested' frame page.
I used the following script to do this:
<head>
<script language="JavaScript">
<!--
function load4Frames(frame1,page1,frame2,page2,frame3,page3,frame4,page4)
{
eval("parent."+frame1+".location='"+page1+"'");
eval("parent."+frame2+".location='"+page2+"'");
eval("parent."+frame3+".location='"+page3+"'");
eval("parent."+frame4+".location='"+page4+"'");
}
--!>
</script>
</head>
<body>
<a href="javascript:load4Frames('frame1', page1', 'frame2', 'page2', 'frame3 'page3', 'frame4', 'page4');" <img name="imgname" src="imgscr" border="0" width="115" height="40">
</body>
This works perfect for the pages in the main frame page, but leaves the pages in the 'nested' frame page unharmed.
Is ther a way to adjust the script so that it also works on the 'nested' frames?
Thanks.