You will also need to set the width in #passages and whatever id is associated with the secondary display window. Again, you might need to play about with the values somewhat to get the exact position
But for now, I'm hung up on something that's likely very simple. How do I select <a> elements in the #passages div with jQuery? I've been using .css to check if I'm selecting them by changing t
SugarCube's border there actually comes in two pieces, one on the right-hand side of #ui-bar and the other on the left-hand side of #passages. Normally, this provides a better look than having it onl
Using the first (delegated handler) option as an example (since it's the easiest): <br />:: StoryInit<br /><<script>><br />$("body #passages&
One cool thing I discovered today...if you want your passage space to expand to the size of the browser window, set the height like this in the #passages class:
/>width: 8%;<br />}<br />#passages { <br />/* This is a container for all passages displayed on the page */<br />/* Passage width */<br />width: 85%;<br />/* Pa
main flow to a sidebar<br />$("#passages").addClass("sidebar");<br />$(".passage").addClass("flip");//add class to
There are other important elements that Sugarcane uses that aren't listed in the default SS. For example, the #passages element (not to be confused with the .passage class, no 's' at the end).
The basics would be that you'd need to add a class to #passages (or something like that), which would disable the passage transition animation for the call to state.display(), and then remove the clas