Hi,
I have the code below, however it doesn't seem to work - does anyone know what the problem is?
I dont want to display any image if the browser is IE6
Thanks
Code:
<!--[if !(IE 6)]>
<script type="text/javascript">
if (document.documentElement.clientWidth <= 1200) {
document.write('<img src="images/home-heading-image-small.png" title="title" alt="alt" />');
}
else {
document.write('<img src="images/home-heading-image.png" title="title" alt="alt" />');
}
</script>
<![endif]-->
|