raduchelariu
Technical User
Hi everyone,
This is my script:
function MailSimple() { javascript:window.location="mai"+"lto:"+"contact"+"@"+"web"+"site"+"."+ "com"; }
And my HTML:
<a href="#" onclick="MailSimple();return false;"><img src="mailto.jpg" /></a>
Now this is my problem:
In every other browser on the planet everything is going smooth. You click and your e-mail client neatly opens up.
But in IE7 (particularly Vista + IE7) whenever one clicks the link it not only opens the e-mail client but also another, blank, page.
Really hope you guys can help me out here.
This is my script:
function MailSimple() { javascript:window.location="mai"+"lto:"+"contact"+"@"+"web"+"site"+"."+ "com"; }
And my HTML:
<a href="#" onclick="MailSimple();return false;"><img src="mailto.jpg" /></a>
Now this is my problem:
In every other browser on the planet everything is going smooth. You click and your e-mail client neatly opens up.
But in IE7 (particularly Vista + IE7) whenever one clicks the link it not only opens the e-mail client but also another, blank, page.
Really hope you guys can help me out here.