DJ Judas Posted March 2, 2006 Share Posted March 2, 2006 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. Quote Link to comment Share on other sites More sharing options...
SieRobin Posted March 3, 2006 Share Posted March 3, 2006 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 Link to comment Share on other sites More sharing options...
DJ Judas Posted March 3, 2006 Author Share Posted March 3, 2006 [!--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. Quote Link to comment Share on other sites More sharing options...
SieRobin Posted March 3, 2006 Share Posted March 3, 2006 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 :] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.