Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LOADING IFRAMES

Status
Not open for further replies.

ErnDissla

Technical User
Jan 16, 2008
1
CA
Hello fellow web tech's,

Problem:

I have 3 different iframes on my main page (index.html).
There are 3 links; Movies, TV Shows and Documentaries.
Each links 3 different pages (movies.html, shows.html & documentaries.html) into the 1 iframe named "movielist".

What i want:

Now from there i want each movie title link within the iframe "movielist" to load 3 different iframes into the main page (index.html);

#1 (The actual movie - iframe name="movies") HTTP * This i figured out with ;

<a href=" target="movies">Click for New iFrame Content</a>

#2 (The movie Name - iframe name="moviename") TEXT
#3 (The movie description - iframe name="moviedescription") TEXT

Is this done through parent references or how abouts do i go abouts doing this..

If your having troubles understanding what i mean,

Check out:

I included the iframe names outside of the actual iframe so you can see which sections have to be loaded.

Thanks for your time & responces!
 
Just add an onclick handler to your href that triggers a function to set the location of each of the other frames.

[tt]parent.frames['framename'].location = "[/tt]


Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.

Webflo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top