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? Quote Link to comment 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> Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment 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 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.