I have a file that sends an email to my gmail account with a Link, i want that on clicking of that link i should be able to open the result url in new window (not in new tab).
I have tried the following code with javascript but it does not works well. It does not create's link also, please can any one tell me where i am going wrong:
$links ='<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">function open_mywindow(http_url){ win = window.open(http_url,"win","height=600,width=600,scrollbars=1,resizable=1,help=0"); win.focus();}</SCRIPT><a href="javascript:open_mywindow('http//www.google.com')">open</a>';
Please Help me out in this.
Code snippet will be much appreciated.