Alienware Posted January 6, 2009 Share Posted January 6, 2009 Has anyone got any idea hot to get this link to open in the main frame?- $name = "<a onMouseOver=\"return overlib('Playername: ".$user."', CENTER);\" onMouseOut=\"nd();\" href=\"profile.php?player=".$user."\" style=\"\">".$play."</a>"; echo $name." ~ "; the frame i want it to open in is called "main"... at the moment it opens up in the frame that the link is in. Quote Link to comment Share on other sites More sharing options...
bluesoul Posted January 6, 2009 Share Posted January 6, 2009 If you're using frames you need to add target="Name" where name is the frame you want it to display in. Quote Link to comment Share on other sites More sharing options...
Alienware Posted January 6, 2009 Author Share Posted January 6, 2009 it is called "main" when i tried that before it just came up with an error Quote Link to comment Share on other sites More sharing options...
Alienware Posted January 6, 2009 Author Share Posted January 6, 2009 anyone? Quote Link to comment Share on other sites More sharing options...
Alienware Posted January 6, 2009 Author Share Posted January 6, 2009 bump Quote Link to comment Share on other sites More sharing options...
Alienware Posted January 7, 2009 Author Share Posted January 7, 2009 bump Quote Link to comment Share on other sites More sharing options...
DarkSuperHero Posted January 7, 2009 Share Posted January 7, 2009 <?php $name = "<a onMouseOver=\"return overlib('Playername: ".$user."', CENTER);\" onMouseOut=\"nd();\" href=\"profile.php?player=".$user."\" target=\"main\" style=\"\">".$play."</a>"; echo $name." ~ "; that doesnt work ? Quote Link to comment Share on other sites More sharing options...
Alienware Posted January 7, 2009 Author Share Posted January 7, 2009 That works, thankyou <?php $name = "<a onMouseOver=\"return overlib('Playername: ".$user."', CENTER);\" onMouseOut=\"nd();\" href=\"profile.php?player=".$user."\" target=\"main\" style=\"\">".$play."</a>"; echo $name." ~ "; that doesnt 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.