...

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.

Mr J
02-22-2003, 02:37 PM
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/



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum