By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,516 Members | 1,135 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,516 IT Pros & Developers. It's quick & easy.

problems with print script

P: n/a
I have programmed a set of pages with two frames. I have created a
clickable link on one of the pages to facilitate the user printing just that
page. Here is the code:

<form><input type="button" value="Print"
onClick="parent.mainFrame.focus();window.print()"> </form>

This code works correctly on IE and Netscape on PCs; it opens the print
dialog box. But it does not work on any of the MAC browsers. Nothing
happens when my MAC friends click on the link.

RuthL
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
dm
RuthL wrote:
I have programmed a set of pages with two frames. I have created a
clickable link on one of the pages to facilitate the user printing just that
page. Here is the code:

<form><input type="button" value="Print"
onClick="parent.mainFrame.focus();window.print()"> </form>

This code works correctly on IE and Netscape on PCs; it opens the print
dialog box. But it does not work on any of the MAC browsers. Nothing
happens when my MAC friends click on the link.

RuthL


Hi Ruth,
I have had the same problem trying to do something else. I ended up
having to put a print button on the page which linked to a printable
version of the page. An ugly solution, but one that works. If you find
out how to make it work on the MAC, let me know.

dave
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.