Forum Moderators: open
I have tried using <BODY onBlur=self.focus()> in the body of the large-image file HTML. No difference in FF, works at first in IE6 - if a new image is selected, the large image appears in place of the old. However, if the original image is selected, the large-image file disappears to the bottom of the stack.
Any thoughts on how to correct this?
Code being used:
<head>
<script type="text/javascript">
<!--
function ClothWindow(theURL) {
Cloth_Window = window.open(theURL,"WindowLargeCloth", "width=300, height=472,scrollbars=no");
}
//-->
</script>
</head>
<body>
<a href="images/large-black.htm" title="Link to larger image in new window" target="_blank" onclick="ClothWindow(this.href);return false;"><img src="images/black.jpg" alt="black cloth" width="133" height="40" border="0"></a>
<a href="images/large-white.htm" title="Link to larger image in new window" target="_blank" onclick="ClothWindow(this.href);return false;"><img src="images/white.jpg" alt="black cloth" width="133" height="40" border="0"></a>
</body>
So I think my problem has gone away. That said, I would very much like to know if there was a way around it.