homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

iframes linking question
using js to reload multiple frames w/ the same link

10+ Year Member

Msg#: 106 posted 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!




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

Msg#: 106 posted 1:16 pm on May 9, 2002 (gmt 0)

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.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved