Forum Moderators: open

Message Too Old, No Replies

window.print for Mac IE 5.2?

window.print() works for everything except Mac IE 5.2?

         

mfindlay

2:22 am on Jul 31, 2004 (gmt 0)



Does anyone know of a way to get the window.print to work with Mac IE 5.2?

The standard way:

<a href="#" onClick="javascript:window.print(); return false;">PRINT PAGE</a>

Fails with a javascript error on Mac IE 5.2 only.

Note:
I did come across some code that checked for (window.print) before coding the link:

if (window.print) {
document.write('<input type="button" onclick="window.print()"'+
' value="Print This Page">'); }

When I plug this code into my page, the button appears on all platforms and browsers EXCEPT Mac IE 5.2

Does this mean that Mac IE 5.2 simply does not support the window.print?

Thanks for any help!

DrDoc

3:21 pm on Aug 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld! [WebmasterWorld.com]

As far as I know, IE/Mac doesn't support

window.print
at all.