Jump to content


Photo

Linking help


  • Please log in to reply
3 replies to this topic

#1 DJ Judas

DJ Judas
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 02 March 2006 - 09:04 PM

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.

#2 SieRobin

SieRobin
  • Members
  • PipPipPip
  • Advanced Member
  • 212 posts
  • LocationNew Jersey

Posted 03 March 2006 - 03:33 AM

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

#3 DJ Judas

DJ Judas
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 03 March 2006 - 08:39 AM

[!--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) View Post[/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.

#4 SieRobin

SieRobin
  • Members
  • PipPipPip
  • Advanced Member
  • 212 posts
  • LocationNew Jersey

Posted 03 March 2006 - 12:49 PM

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 :]




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users