oceans Posted May 12, 2007 Share Posted May 12, 2007 Friends, Please guide me. I have a hyper link, I want to open in another window. How can I do it? Will your method work for all majour browsers? Link to comment https://forums.phpfreaks.com/topic/51043-opening-a-page-on-another-windowsorry-not-php-q/ Share on other sites More sharing options...
chigley Posted May 12, 2007 Share Posted May 12, 2007 XHTML Strict valid: <a href="#" onclick="window.open('http://www.google.co.uk');">Google</a> XHTML Transitional valid (works on more browsers as doesn't need JavaScript): <a href="http://www.google.co.uk" target="_blank">Google</a> Link to comment https://forums.phpfreaks.com/topic/51043-opening-a-page-on-another-windowsorry-not-php-q/#findComment-251195 Share on other sites More sharing options...
oceans Posted May 12, 2007 Author Share Posted May 12, 2007 Thanks, blank does not works, that is the problem. any way else Link to comment https://forums.phpfreaks.com/topic/51043-opening-a-page-on-another-windowsorry-not-php-q/#findComment-251199 Share on other sites More sharing options...
chigley Posted May 12, 2007 Share Posted May 12, 2007 Are you sure it doesn't work? Do you have a link please? Works fine for me and it's HTML so shouldn't be server specific. Link to comment https://forums.phpfreaks.com/topic/51043-opening-a-page-on-another-windowsorry-not-php-q/#findComment-251200 Share on other sites More sharing options...
oceans Posted May 12, 2007 Author Share Posted May 12, 2007 sorry i will try again, i asked dreamweaver to do it, i will check the code myself Link to comment https://forums.phpfreaks.com/topic/51043-opening-a-page-on-another-windowsorry-not-php-q/#findComment-251204 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.