Jump to content

Archived

This topic is now archived and is closed to further replies.

DJ Judas

Linking help

Recommended Posts

Hi there,

This seems like one of those problems that is very simple and I'm sure there is a simple way to achieve my goal, but, as a complete PHP blank I cannot figure out how to do it.

I run a site: [a href=\"http://www.sfsworks.com\" target=\"_blank\"]http://www.sfsworks.com[/a]

The site uses an IFrame in the center of the page where the content is displayed.

I wish to post links to [a href=\"http://www.sfsworks.com/judas_mix13.php\" target=\"_blank\"]http://www.sfsworks.com/judas_mix13.php[/a] but ofcourse, when I do this, because of the IFrame it does not appear with the sites template.

Is there a way I can link to [a href=\"http://www.sfsworks.com/judas_mix13.php\" target=\"_blank\"]http://www.sfsworks.com/judas_mix13.php[/a] so that it will appear with the content around it held in the index file?

Any help is much appreciated.

Thanks.

Share this post


Link to post
Share on other sites
What you want to do is make the links go to the iframe? If so that's very easy to do, let me know.

Share this post


Link to post
Share on other sites
[!--quoteo(post=351234:date=Mar 2 2006, 10:33 PM:name=Christopher Robin)--][div class=\'quotetop\']QUOTE(Christopher Robin @ Mar 2 2006, 10:33 PM) [snapback]351234[/snapback][/div][div class=\'quotemain\'][!--quotec--]
What you want to do is make the links go to the iframe? If so that's very easy to do, let me know.
[/quote]

Yes that's exactly what I want to do. Because the link [a href=\"http://www.sfsworks.com/judas_mix13.php\" target=\"_blank\"]http://www.sfsworks.com/judas_mix13.php[/a] when used from an external site will just show up without the content held in the sites index.php I want to make it so that the link loads the index.php but loads judas_mix13.php in an iframe called 'content'.

I've tried lots of different things and I'm sure as soon as I see how to do it I'll say 'Ah yeah....' but any help would be much appreciated.

Share this post


Link to post
Share on other sites
All you have to do is..

<iframe name='name'>

Then for the links, put in the link..

<a href='link.php' target='name'>Yipee!</a>

That should work :]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.