Forum Discussion
OwenHolt
8 years agoSuper Hero
Print ANYTHING in StoryLine
By adding a new tab in the player properties panel and assigning it to execute the "window.print();" JavaScript, you can allow your participants to print any/every slide in your StoryLine projects i...
LucyWood-cf5987
8 years agoCommunity Member
This is wonderful! I'm a SL2 user and know nothing about JavaScript, so this is easy for me to add.
Is there a way to turn on/off the custom tab for select slides, as there is in the base layer settings for the pre-set tabs?
Thanks!
- OwenHolt8 years agoSuper Hero
Unfortunately no (at least not by the built in functionality); custom tabs are not included in the Slide Properties 'Custom for the selected slides' window.
However.... IF (and you will notice that is a big IF) you are publishing your SL2 using HTML 5... you can use the following to hide the button. Note that this is for SL2 only; the identifiers changed with SL3/360 as noted in my original post.- Find the button/tab and rename it. You can do this on your first slide at timeline start using the following JavaScript:
$(".customlink").attr("id","printButton"); - To hide the button/tab, use the following JS:
$("#printButton").hide(); - To show the button/tab, use this JS:
$("#printButton").show();
Note, this will only work in the HTML5 output of SL2.
- Find the button/tab and rename it. You can do this on your first slide at timeline start using the following JavaScript: