Forum Discussion
JavaScript "Egg Timer" Using SL3 Dials
I took my JavaScript based timer created for SL2 and applied it to a Dial in SL3. I like the way it turned out. There are 2 timers in this file, they are essentially the same graphics and code, the difference is in the number of stops on the SL Dial.
Timer 1 = 30 minutes
Timer 2 = 30 seconds
How to use the timer:
Because they are JavaScript based, you will need to publish the file to see the functionality.
One published, turn the dial to the desired time and hit the green button. Because the 2 timers share code, be sure to hit the stop button before you advance or go back between the 2 slides.
That's really cool, Owen! At first I thought it wasn't working because I didn't hear anything (for some reason I expected to hear ticking), but then I saw the numbers moving. Great job!
I decided to add this to the downloads section to make sure it's easy to find! I added a published version too so people can check it out before they download: https://community.articulate.com/download/storyline-egg-timer-countdown-template/ :) Happy Friday!
- OwenHoltSuper Hero
@ Allison: I thought about adding sound, but honestly I've just been really busy.
@Matthew: I hope your lunch turned out well! I've found that if you put the eggs in a pot with cold water, bring it to a boil, then remove them from the heat and keep them in the water covered for 18 minutes followed by a cold ice bath, your eggs will turn out perfect every time.
- OwenHoltSuper Hero
Thanks Allison!
Oh totally! It's already a great template even without the sound :)
- TrinaRimmerFormer Staff
Love the download AND the egg tips, Owen! Thanks for sharing the both with us.
- OwenHoltSuper Hero
My pleasure. :)
- LuPostCommunity Member
This is great, Owen! It would work well as a "return to class" timer for a classroom training session (in addition to cooking eggs :-)!
- JinaAliCommunity Member
That's great. What code can I add to play a sound (from an URL) when it completes?