would like to add a printer icon to the toolbar in my online help
so that users can click the icon to print instead of using the
browser's print. Is it possible to do this? If so, how?Adding a Print Icon to the Toolbar
Hi allen4009 and welcome to the RH community.
What you want is certainly doable with a little javascript.
In your skin, create a custom button. In the Action tab enter
javascript:Print.Click(); into the ''OnClick'' field. Generate and
test. Viola!Adding a Print Icon to the Toolbar
Excellent! Thank you so much. Perfect.
Hi all
Not doubting Colum's advice here, but if that fails to work,
try grabbing a copy of my Skinny on Skins from my web site (site is
linked in my sig line)
My reason for possible doubt is that I recall it's not as
simple as just adding a print command as the toolbar action when
clicked by the user. Yeah, it printed, but printed the frame the
toolbar icon is in. You have to target the frame the topic is in.
Unless, of course, your goal is to print the toolbar. In that case
you should be fine.
Cheers all... Rick
Hi Rick, as you predicted, adding a print button was not as
easy as adding javascript:Print.Click(); to the onclick field. It
didnt work for me. I went to yoru Skinny on Skins page, but couldnt
find the topic. Help!
Thanks
Skinny on Skins %26gt; Main Toolbar %26gt; Buttons %26gt; Add
Button to Print the Displayed Topic
Good luck,
Leon
No comments:
Post a Comment