Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Print Passage Content

In my sidebar (sugarcube 1.x) I currently have a print and re-roll button. The reroll refreshes the content of the current passage and the print prints the pages contents. What I would like to do is to print only what is displayed in the passage. Below is my current code any recommendations are appreciated.

<A HREF="javascript:window.print()">Click to Print This Page</A>
<input type="button" value="Re-Roll" onClick="window.location.reload()">
<input type="button" value="Print" onClick="window.print()">


Sign In or Register to comment.