C
Ciar?n
Hi all,
I've go a little mailto: link on a page that when clicked opens an
email form with the email address in the To field - all very simple.
Problem is that in Netscape, a new blank window is opened up as well,
along with the email form. Is there a way to stop this blank window
from opening? Below is the relevant code. My test browsers are IE 6
and NS 7.
function openwindow(location,width,height,name){
window.open(location,width,height,name);
}
<a href="javascript:void(0)"
onClick="openwindow('mailto:[email protected]','790','571','summary')"><img
src="..generic/weblink.gif" border="0" /></a>
I've go a little mailto: link on a page that when clicked opens an
email form with the email address in the To field - all very simple.
Problem is that in Netscape, a new blank window is opened up as well,
along with the email form. Is there a way to stop this blank window
from opening? Below is the relevant code. My test browsers are IE 6
and NS 7.
function openwindow(location,width,height,name){
window.open(location,width,height,name);
}
<a href="javascript:void(0)"
onClick="openwindow('mailto:[email protected]','790','571','summary')"><img
src="..generic/weblink.gif" border="0" /></a>