Creating a Dynamic menu in the Storyline Content
Jun 27, 2013
By
Dennis Hall
Hi All:
In flash, if I want to create a dynamic navigation menu, I would use actionscript to read an XML file. I could also do this in the Captivate player I created.
Now I'm trying to do this in Storyline and know the following exists:
- The frame.xml file, located in the story_content folder of the published output, will provide me the slidelink child nodes.
- The slideid will provide the file to play.
- Storyline provides me an ability to enter JavaScript in the Master Slide.
- I have also read this article which is a dead end for my purpose http://community.articulate.com/forums/p/13979/120738.aspx
Given the 4 points above, I would like to pursue this.
What I plan is:
- Find out what storyline Javascript function could be used to read the frame.xml file, crawl to the slidelink child, and read the slideid value.
- Create a menu layer in my Master Slide and place one dynamic button on the layer that will be replicated for each instance of teh slideid value found.
- See if Storyline automatically generates the navigation output.
- Test LMS reporting with this setup.
- If the previous points are successful, the rest is just styling and layout.
If anyone has been successful at doing this, it would be great if you could share.
If anyone is interested in working on this with me and you have the required skills, contact me.
Best Regards,
Dennis Hall
7 Replies
Hi Dennis!
Wondering if you have found a solution to this yet?
I am wandering the path of trying to use javascript from within Storyline to auto-generate a menu. Basically, it's the old 'we need more real estate' issue. So we will have the menu slide in as an overlay when the user clicks a custom menu button.
Building this menu from within Storyline auto-magically would save the extra steps of publishing more than once and reduce the possibility of human error.
I'll keep you posted on our success, but would be interested to know if you've had any results.
Thanks,
Michael
Hi Guys,
[The comment below is now out of date. Here's a link to our most recent Storyline plugins - May 2020: https://blendedminds.com.au/plugins/]
following release of Storyline 2, several of our clients requested a dynamic menu for their courses. It took a while to create and refine. Our clients were happy with the final version. Most importantly, its quite quick to develop using it. So we set about turning our dynamic menu into a plugin for Storyline so others could use it too. The dynamic menu can be purchased on our website for a small fee which helps towards covering our development costs.
In summary, we built the dynamic menu using:
The webobject needs to only be added once even if you make a change to the menu
The triggers required to run the menu are absolutely minimal. There is zero code in the storyline file aside from a few function calls. The rest of the files are external and are added to the published course by running a batch file after publishing, which takes 5 seconds to run. We've even added 24 themes for the accordion menu or you can apply your own css. The menu can be built using the template we provide or easily applied to an existing storyline file by adding the triggers.
Full details are available here: [old link - removed]
Thanks for sharing Lloyd :)
Hi Lloyd Hill,
Is it possible to load the quiz questions and answers from xml file during run time using javascript. We have tired that and whether the scorm tracking will be working on this dynamic content?
Hope if someone help us to find a solution.
Regards
Saravanan.C
Hi Saravanan,
I'm not sure if Lloyd is still subscribed here, so you may want to message him directly using the "contact me" button on his profile to see if he's able to share some specifics with you.
Saravanan,
We have not experimented with dynamically loading questions from an XML file. Hopefully someone else can help you.
Lloyd
Thanks for popping in Lloyd :)
This discussion is closed. You can start a new discussion or contact Articulate Support.