<html> <frameset cols="30%,70%"> <frame src="page1.htm" name="frame1"> <frame src="page2.htm" name="frame2"> </frameset> </html>
We want to add a link in the first frame (page1.htm is in it) that will change the contents of not only page1, but page2 too. Ok, here we go: The below is the html file for page1:
//page1.htm <html> <body> <h1>This is page 1 </h1> <a href="3.htm" onClick="parent.frame2.location='4.htm'">Click Here</a> </body> </html>
As you can see, this additional code will cause one link to perform two loading of pages.
Just for the hell of it, lets write a function that'll load 5 frames at once:
Nothing can stop you now!