Linking to a page with iframes

liunx

Guest
OK, I have a question . . . let me set up the example:<br />
<br />
Lets say you have a site with an iframe. Your menu options are "Home", "Bio", "Links". You would like to write an external link to your index site; HOWEVER, you don't want the default iframe to show, you want the Bio page to show. So its: Link --> Index + Bios. Again, its an EXTERNAL link. Like something I would put in a forum for instance.<br />
<br />
~Thanks!<!--content-->i don't fully understand?<br />
<br />
make your external links go directly to the bio page?<br />
<br />
instead of your link being <a href=http://www.htmlforums.com/archive/index.php/"index.html"> make it <a href="bio.html"><!--content-->OK, lets say I wanted to email you an html email and in that email is a link to my site (which has an iframe). By default, when you click on the link, whatever is in the "src" is what shows in the iframe. What I want is when you click on the link it will still send you to the index, but instead of the default iframe page showing, its the bios page.<br />
<br />
Does that make sense?<!--content-->yup i got it now, you mean the bio page showing up in the iframe, ok<br />
then your bio page would have to be set as default src for the iframe, just make a copy of your index with the src for the iframe for the bio page and link to that<!--content-->Normally I would do that; HOWEVER, the instance is I have a webring. When you are approved it will send you an email, with the link to your code. The webring is php, and the emailed link is customized for every user (i.e. <!-- m --><a class="postlink" href="http://www.domainname.com/webring/getcode.php?id=1">http://www.domainname.com/webring/getcode.php?id=1</a><!-- m -->). When they click on the link and the code pages comes up, the webring code will also be customized for each user. If I instead send them the link: <!-- m --><a class="postlink" href="http://www.domainname.com/webring/getcode.html">http://www.domainname.com/webring/getcode.html</a><!-- m -->, with the code page in the iframe, the php will not carry over, because there is no query. ??? This is really hard to explain.<!--content-->Nevermind, I figured it out. I created a new page, php, just like my index page. In the src I put: "src=http://www.htmlforums.com/archive/index.php/"getcode.php?<? echo $id;?>". The emailed link will be: <!-- m --><a class="postlink" href="http://www.domainname.comg/webring/code.php?id=USER'S">http://www.domainname.comg/webring/code.php?id=USER'S</a><!-- m --> ID. I tested it and it worked. Thanks for your help. :)<!--content-->i'm glad you sorted it out because i still didn't quite understand what you meant :P<!--content-->:) <--- (Naiad_Moon points to her blonde hair.) Sorry, click on this link and see if this helps: <!-- m --><a class="postlink" href="http://207.228.229.188/webring/code.php?id=1">http://207.228.229.188/webring/code.php?id=1</a><!-- m --><!--content-->
 
Back
Top