Howdy, Stranger!

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

How do I add a sidebar in Harlowe?

I would like to be able to add a button that the user can click that will send them to the main menu, one so they can see acknowledgments, and maybe one to close the game.

Comments

  • You can edit the stylesheet of your passage so that a sidebar is included. Below is the code for the box itself.
    #box
    {
    float: right;
    width: 300px;
    padding: 10px;
    border: solid;
    border-width: 5px;
    border-radius: 10px;
    }
    
    To insert content into that box, use this inside your footer. This lets the sidebar be rendered in every passage.
    <span id="box"> (insert content here) </span>
    
    [/quote]
    You can change the links to your desire
Sign In or Register to comment.