dannon Posted August 31, 2010 Share Posted August 31, 2010 I have a frame on my website, but when I click on a hyperlink the page opens up on the frame, but I how can I make it so it will open on a new tab/window? (the hyperlinks will change all the time it will get it will get the page's url from a different site) (I gave no javascript experience, I just know that it can be done with javascrpit) Quote Link to comment https://forums.phpfreaks.com/topic/212200-hyperlinks/ Share on other sites More sharing options...
Adam Posted September 2, 2010 Share Posted September 2, 2010 If you use the HTML or XHTML transitional doctype within your frame page, you're able to use the target="_blank" attribute with no need for JavaScript. Quote Link to comment https://forums.phpfreaks.com/topic/212200-hyperlinks/#findComment-1106402 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.