Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- javascript:window.print() crashes IE6


benihana - 10:26 am on Jan 15, 2003 (gmt 0)


Hi
I have a popup window with the following code at the bottom to display links to close the window or print the page:

<a href="javascript:window.close();"><img src="images/close.gif" border=0></a>&nbsp;&nbsp;<a href="javascript:window.print()"><img src="images/print.gif" border=0></a>

the window.close works fine, but 90% of the time the window.print crashes IE6 when used with an image link. When I use it with a text link it works fine. It also works fine with an image in NS 7 and mozilla. Has anyone come across this before, or have any idea what the problem may be?
Thanks


Thread source:: http://www.webmasterworld.com/javascript/259.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com