Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Guys quick help please... 1

Status
Not open for further replies.

coldfused

Technical User
Jan 27, 2001
2,442
US
This javascript calls a print command on a pc:

<script language=&quot;JavaScript1.2&quot; cyberversion=&quot;N1.2&quot;><!--
function printWin()
{
if (self.print)
self.print();
}
// -->

This does not work on a mac. I'm guessing because of the printWin() function. What would I use for this to work on a mac and a pc?

Any Ideas?

carlsatterwhite@orlandomediasolutions.com
 
Carl, I don't think you can get it to work on a Mac you will have to add an alert for mac i.e. :

if (mac) {
alert (&quot;Sorry automatic printing dosn't work on Mac press: Apple+P&quot;);
} Regards
David Byng
bd_logo.gif

davidbyng@hotmail.com
 
Hey thanks alot Dave. Will add the alert.

As for the flash game I know I said Yesterday, I just had to make sometime this weekend for the kids so I never got to it.

Will get back to it this evening after work. Will have it out to you very soon I promise. We have until february so were ok.

But I respect the fact that it will take you a litttle time as well and I don't want you to have to rush, so very soon I promise.

Thanks alot.



carlsatterwhite@orlandomediasolutions.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top