Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

iframes linking question

using js to reload multiple frames w/ the same link



7:37 pm on May 8, 2002 (gmt 0)

I've seen a similar question on the list, but my needs are different enough that I couldn't use (or really understand) the solution offered previously...

I have a page with ten small iframes on it, and all of them load originally with identical source content (pointed toward "blank.html").

What I want to do is to use a single link (located in in the regular body content) to target three of the iframes, so that those iframes will all reload with the same new source (in other words, after clicking the one link, the 3 targeted iframes would now be pointing toward "new-source.html" while the other 7 are still on "blank.html").

Is this possible? I am X/HTML and CSS proficient, but know very little about implementing javascript (but I'm willing to learn!).

I appreciate any responses!



1:16 pm on May 9, 2002 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

Here's another thread where I took a stab at a javascript solution for loading two iframes with one link. Never had an answer as to whether it worked, but I think it should -- and the extension to changing 3 or more would be easy.



Featured Threads

Hot Threads This Week

Hot Threads This Month