XxsamanthaxX
04-11-2006, 05:12 PM
is there a way to do that? i have my xposure links in a php iframe, so when someone clicks on them they open up in the iframe. but that's not what i want. is there a way to get them to open up in a new window?
|
View Full Version : forcing php links to open in a new window XxsamanthaxX 04-11-2006, 05:12 PM is there a way to do that? i have my xposure links in a php iframe, so when someone clicks on them they open up in the iframe. but that's not what i want. is there a way to get them to open up in a new window? Paco 04-11-2006, 05:23 PM true adding target"_blank" or it might be target_"blank" XxsamanthaxX 04-11-2006, 05:55 PM well when i add the target blank, it gave me a syntax error. this is how i added it <?php include("http://www.xposure.nu/code.php?uid=353" target="new"); ?> was that the right way to do it? Paco 04-11-2006, 06:03 PM opps, sorry I did not realize your where using php, I dont have a clue sorry _zr_ 04-12-2006, 01:00 AM well when i add the target blank, it gave me a syntax error. this is how i added it <?php include("http://www.xposure.nu/code.php?uid=353" target="new"); ?> was that the right way to do it? You can't do anything to the PHP includ - as far as I know - to make it open into a new window. You have to do it in the link itself (which I'm guessing are in the included file?) like so; <a href="URLhere.ext" target="_none">text</a> Since the include can only include text and HTML that's already been saved in another file, not alter it in any way. Does that make sense? |