IE6 blocking (safe) content

Giganews Newsgroups
Subject: IE6 blocking (safe) content
Posted by:  Jon (j…@SPAM_OFFtheexperts.co.uk)
Date: Wed, 15 Sep 2004

Hi there,

In many of my sites I have code like:

<SCRIPT language="JavaScript" type="text/javascript">
<!--
user = "USER";
isp = "DOMAINNAME.XXX";
document.write('<a href=\"mailto:' + user + '@' + isp + '\">');
document.write(user + '@' + isp + '<\/a>');
//  -->
</SCRIPT>

on some I simply use:

<a href="javascript:void(window.open('XXX.htm', 'Picture',
'width=XXX,height=XXX'))">Text</a>

to open windows with zoomed pictures therein and

<a href="javascript:window.close()">Close</a> to close them.

However, IE6 thinks this is unsafe!!!! and blocks the script -

I can alter my settings to permit them, but visitors might not....

What can I do to resolve this?  Any thoughts?

Thanks

Jon

jon - at - compasscomputing - dot - co - dot - uk

Replies