Linking to a page within a frameset

liunx

Guest
Hi folks,<br />
<br />
I'm wondering if anyone has a solution to the question of how I can link from a site to a specific page within a frameset. In other words I want to create a link on a site for example from <!-- w --><a class="postlink" href="http://www.xyz.com">www.xyz.com</a><!-- w --> to a page that is deep within the site <!-- w --><a class="postlink" href="http://www.abc.com">www.abc.com</a><!-- w --> and have the link open within the abc.com frameset.<br />
<br />
Using just plain old bland html a link on xyz.com to <!-- w --><a class="postlink" href="http://www.abc.com/example.html">www.abc.com/example.html</a><!-- w --> opens the example.html page outside the abc.com frameset.<br />
<br />
I realize the answer may lie in modifying the abc.com frameset, but that's okay, the company owns both sites.<br />
<br />
I have seen something on dynamic framesets using javascript and am wondering if that's part of the answer.<br />
<br />
Anyway, any thoughts/help greatly appreciated.<br />
<br />
Regards<br />
<br />
Neil<!--content-->I don't understand what you are trying to do. A page is not part of a frameset it may be framed and be contained in a frameset, but it does not know it is part of a frameset.<br />
<br />
If you want the page you are linking to to be in a frame then you have to link to the frameset and perhaps pass a parameter that indicates which page you want loaded if the is not the normal starting page for the target frame.<!--content-->Name the frames that you use in your frameset document then use the target= attribute to force it to load into that frame.<br />
<br />
<frame src=http://www.htmlforums.com/archive/index.php/"http://www.abc.com" name="abc"><br />
<br />
<br />
then in the links you want to open in the "abc" frame use:<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"http://www.abc.com/index2.html" target="abc">click here</a><br />
<br />
HTH,<br />
Kevin<!--content-->Originally posted by COBOLdinosaur <br />
I don't understand what you are trying to do. A page is not part of a frameset it may be framed and be contained in a frameset, but it does not know it is part of a frameset.:D This part is complicating.<!--content-->Maybe I didn't explain myself well enough so I'll try using the actual URLs.<br />
<br />
Currently, I am trying to link from <!-- m --><a class="postlink" href="http://www.in3inc.com/index.html">http://www.in3inc.com/index.html</a><!-- m --> to a page (whatwedo.html) at <!-- m --><a class="postlink" href="http://www.abetterworkplace.com">http://www.abetterworkplace.com</a><!-- m -->. Have a look at the A Better Workplace site and you'll see it's already set up with frames that work fine (don't blame me for the site design, etc, I inherited it :D )<br />
<br />
Now, If I just put a link on the <!-- m --><a class="postlink" href="http://www.in3inc.com">http://www.in3inc.com</a><!-- m --> site to <!-- m --><a class="postlink" href="http://www.abetterworkplace.com/whatwedo.html">http://www.abetterworkplace.com/whatwedo.html</a><!-- m --> you'll see that it opens without the left nav bar.<br />
<br />
Hopefully that explains a little better what I'm after. ;)<br />
<br />
All in all another reason for my dislike of frames.<br />
<br />
BTW, I appreciate your help so far.<br />
<br />
Regards<br />
<br />
Neil<!--content-->I believe I already gave you the answer you need to solve this probelm. See my post above. <br />
<br />
Regards,<br />
Kevin<!--content-->
 
Back
Top