We would like the Print icon in our WebHelp toolbar to print the selected frame only. Currently, it prints the navigation pane and the selected frame.
Although you can right-click in the topic, click Print preview, and select to print Only the selected frame, this is not very convenient.
Any suggestions?
Print selected frame only
-
kwag_myers
- Propellus Maximus
- Posts: 810
- Joined: Wed Jul 25, 2012 11:36 am
- Location: Ann Arbor, MI
Re: Print selected frame only
Weird, mine doesn't print the nav container, just the topic. But you can try this...
Go to the Skin Editor > WebHelp Toolbar and click the Edit button for the Custom JavaScript window. Then paste this code in:
Go to the Skin Editor > WebHelp Toolbar and click the Edit button for the Custom JavaScript window. Then paste this code in:
Code: Select all
function framePrint(whichFrame){
parent[whichFrame].focus();
parent[whichFrame].print();
}"I'm tryin' to think, but nothin' happens!" - Curly Joe Howard