View Full Version : Example of one click, two iframe loads
johntmcii
02-22-2003, 12:10 PM
I would like to load two iFrames with one click. Anyone got an example of the JavaScript needed? Thanks in advance.
It all depends on your frame layout but say you have a frame name "Main" and a frame named "Head"
Something like:
<a href="page1.htm" target="main" onClick=parent.head.location.href="page2.htm">Load 2 Frames</a>
would do it
Quiet Storm
02-22-2003, 07:35 PM
You can check out my site for an example MrJ showed above:
http://www.angelfire.com/mo2/cbch21/
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.