Harlowe (2.0.10)
I've been reading up on sidebars and have a question. Is it possible to program a sidebar to "follow" the screen as it scrolls down? So as a player scrolls down the page the sidebar follows instead of always remaining at the top of the screen.
Or even better (as in this thread)
http://twinery.org/forum/discussion/2938/sidebar-menu-in-harlowe, a box that isn't necessarily in the true sidebar since I only want this thing to appear on certain passages.
I'd like to include a countdown timer on some passages and it would be helpful to see the timer at all times no matter where you are in the passage.
Comments
Thanks, hoping there's a solution for Harlowe since it's a format that my brain seems to respond to best.
I need a countdown timer to live in the sidebar for certain passages. When the countdown expires, it'll move the player onto the next passage.
I'm having a heck of a time finding a basic how-to for a countdown timers. Could someone guide me through the basic setup of:
1.) Setting up a visible timer in Sugarcube 1.0.32.
2.) Putting that timer into the sidebar for certain passages.
This should probably do more or less what you want in v1. You might need to tweak the CSS a bit to your liking.
1. Place the following into the Story JavaScript:
2. Place the following into the Story Stylesheet:
3. Place the following into a widget-tagged passage:
4. Usage