VeggieBoards banner

1 - 5 of 5 Posts

·
Registered
Joined
·
0 Posts
Discussion Starter · #1 ·
Ok, so I have an inline frame in an inline frame. I want to figure out how I can direct a link so that the same page loads in the the top inline frame, but different pages load in the second inline frame. Anyone?
 

·
Registered
Joined
·
1,319 Posts
I think this is what you want:<br><br><a href="http://www.yourhtmlsource.com/frames/inlineframes.html" target="_blank">http://www.yourhtmlsource.com/frames/inlineframes.html</a><br><br>
Name each iframe, then set each target to the page to display in that frame , and specify the attributes you want for the frame.
 

·
Registered
Joined
·
715 Posts
I don't know, but my brother might help. He says:<br><br><br><br>
If I am correct, you have three webpages:<br><br><br><br>
Can't you just do this:<br><br><br><br>
Name the iframe you want to load the page in "load" and put target="load" on the link... But I do not recommend using iframes. There's probably a better alternative... so for the first iframe-d page, where you put the code for the second iframe-d page, put name="load". Make sense?<br><br><br><br>
[ [ name="load" ] ]<br><br><br><br><a href="http:" target="_blank">Click Me</a>
 

·
Registered
Joined
·
0 Posts
Discussion Starter · #4 ·
<div class="quote-container"><span>Quote:</span>
<div class="quote-block">Originally Posted by <strong>Lydia</strong> <a href="/forum/post/0"><img alt="View Post" class="inlineimg" src="/img/forum/go_quote.gif" style=""></a><br><br>
I don't know, but my brother might help. He says:<br><br><br><br>
If I am correct, you have three webpages:<br><br><br><br>
Can't you just do this:<br><br><br><br>
Name the iframe you want to load the page in "load" and put target="load" on the link... But I do not recommend using iframes. There's probably a better alternative... so for the first iframe-d page, where you put the code for the second iframe-d page, put name="load". Make sense?<br><br><br><br>
[ [ name="load" ] ]<br><br><br><br><a href="http:" target="_blank">Click Me</a></div>
</div>
<br><br><br>
Thats how I have it set up now, and it only loads the same two pages. Let me clarify.<br><br><br><br>
I have links a, b, c, and d. Links a, b, and c all have the same outside iframe. However, when I click on a, b, or c, I want the inside iframe to change keeping the outside frame the same. This works fine as long as the inside iframe is being displayed in the outside iframe. However, when I click on link d which changes the outside iframe and has no inside iframe, then I click back on links the other links, it is referenced to a iframe that is now not displayed, so the link opens as _top.<br><br><br><br>
Since the iframe can only have one source when opening, I need to figure how to have it change depending on which link is opening it.<br><br><br><br>
So something like this. The page displayed is index.html.<br><br>
link a = outside iframe = home.html - inside iframe is home1.html<br><br>
link b = outside iframe = home.html - inside iframe is info.html<br><br>
link c = outside iframe = home.html - inside iframe is contact.html<br><br>
link d = outside iframe = directory.html - inside iframe is not present<br><br><br><br>
Thanks<img alt="" class="inlineimg" src="/images/smilies/smiley.gif" style="border:0px solid;" title=":)">
 

·
Banned
Joined
·
10,763 Posts
"I want to figure out how I can direct a link so that the same page loads in the the top inline frame, but different pages load in the second inline frame."<br><br><br><br>
Same as <i>what</i>? Different than <i>what</i>? To make any page load in an inline frame, you just put the page's address in appropriate place in the markup code. Between the quotation marks in <iframe src="here"></iframe>
 
1 - 5 of 5 Posts
Top