Howdy, Stranger!

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

Printing Passage Content

Using sugarcube 1.x I currently have two buttons in my sidebar. one allows players to re-roll the passage results and another prints the page. I am currently at a stand still because the print button prints the entire page when all im attempting to print is the passage content. Below is my code from my sidebar any help would be 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()">

Comments

  • I don't use sugarcube but a smarter idea would be to use surgarcube 2.x it fixes lots of bugs and makes alot of stuff easier
Sign In or Register to comment.