askohen
07-09-2003, 11:51 AM
Hi. I am using the following code to launch a window from a parent so that browsers with javascript disabled will still be able to see content in the main window:
<a href="bios/lincolnalmond.html" onClick="window.open(this.href, '','scrollbars=yes,width=520,height=550'); return false">Lincoln
C. Almond '61</a>
However, when I use the same method on an image, I get an "Object doesn't support this property or method" in IE6. In Netscape 7, I do not get an error and it works as expected. Here is the code:
<a href="bios/lincolnalmond.html" onClick="open.window(this.href, '','scrollbars=yes,width=520,height=550'); return false"><img src="../graphics/almond.jpg" width="102" height="155" border="0"></a>
Any ideas? Thanks.
<a href="bios/lincolnalmond.html" onClick="window.open(this.href, '','scrollbars=yes,width=520,height=550'); return false">Lincoln
C. Almond '61</a>
However, when I use the same method on an image, I get an "Object doesn't support this property or method" in IE6. In Netscape 7, I do not get an error and it works as expected. Here is the code:
<a href="bios/lincolnalmond.html" onClick="open.window(this.href, '','scrollbars=yes,width=520,height=550'); return false"><img src="../graphics/almond.jpg" width="102" height="155" border="0"></a>
Any ideas? Thanks.