Well, I think it is not what i meant now. I missundrestood you. I need the Viewer to see on which slide he actually is and how many slides are left for him/her to see.
If your presentation is linear, you could still do this easily by incrementing a variable when each slide starts. Calculate a second variable by subtracting the first variable from the total number of slides.
It gets messy if users can jump around in your presentation. In that case, the concept of "remaining number of slides" can take on a few different meanings.
I created the following which I think satisfies the request.First off, when testing it was brought to my attention that it did not work in some earlier versions of Storyline, I’m using “Update 2: 1212.1412”.
I am very new to the Storyline and I am sure there are improvements that can be made to simplify the implementation (i.e. master slide).
When testing, I noticed that if you click on each of the items in the Menu, the counter does not function correctly.Since our end products typically do not utilize/display a Menu, this would not be an issue.I also created the attached to include both manual and automated slide advancement.
Although the sample is very simplistic, I did not do a lot of testing.If you find any bugs, I’d best very interested in hear about them, as well as your feedback.
Shailesh - Did the sample I provided not work? I ask becuase I've tried to share other samples with collegues and they cannot always see what I've done (i.e. what I see is not what they see).
By the way, sorry it took so long for me to respond. I did not get an email notification of your request.
I've incorporated this counter into my course; however, it's not counting backwards. I'm using custom Next and Previous buttons. What trigger and/or variable am I missing?
I have a question for the programming gurus...is there a way for this to work when the client uses the menu to navigate instead of the "NEXT" and "PREV" buttons. Using the menu causes this solution to go all haywire.
The solution I offered uses the starting of the timeline to add another increment to the counter. So if you are on slide 3 of 3 and jump back to 1 the counter will read 4 of 3, but you already know this. It will not represent a non linear approach properly.
You'll need to use the solution offered by Kumar V which involves a trigger on every slide...but if you've got to do something on every slide, you might as well just write the slide number. It isn't very satisfactory unfortunately.
Just an FYI James, responding via email includes your signature here so you may want to look at editing the post to remove that information. It's ok by us i you want to keep it there!
26 Replies
What would this slide counter do? Is it to keep up with the number of slides the user has viewed?
Yes, exactly.
Easy as pie. (However easy that is.) Define a variable and increment it when each slide's timeline starts.
If some slides can be visited multiple times, some extra consideration will have to be given if you only want slides counted once.
Well, I think it is not what i meant now. I missundrestood you. I need the Viewer to see on which slide he actually is and how many slides are left for him/her to see.
If your presentation is linear, you could still do this easily by incrementing a variable when each slide starts. Calculate a second variable by subtracting the first variable from the total number of slides.
It gets messy if users can jump around in your presentation. In that case, the concept of "remaining number of slides" can take on a few different meanings.
I created the following which I think satisfies the request. First off, when testing it was brought to my attention that it did not work in some earlier versions of Storyline, I’m using “Update 2: 1212.1412”.
I am very new to the Storyline and I am sure there are improvements that can be made to simplify the implementation (i.e. master slide).
When testing, I noticed that if you click on each of the items in the Menu, the counter does not function correctly. Since our end products typically do not utilize/display a Menu, this would not be an issue. I also created the attached to include both manual and automated slide advancement.
Although the sample is very simplistic, I did not do a lot of testing. If you find any bugs, I’d best very interested in hear about them, as well as your feedback.
Hi steve,
Could you let me know how to create such counter condition.
Any video would be helpful.
Thanks in Advance.
Shailesh - Did the sample I provided not work? I ask becuase I've tried to share other samples with collegues and they cannot always see what I've done (i.e. what I see is not what they see).
By the way, sorry it took so long for me to respond. I did not get an email notification of your request.
I'm throwing my 2 cents in here.
The attached works for linear slides and caters for situations where you don't necessarily use the Next button to proceed.
All the variables and triggers are on the master slide.
x=slide counter, starts at 0
y=total slides
z=true/false, default value true
For a linear presentation, Storyline should offer a counter.
Thanks Killian - it's a common question in regards to a slide count, so thanks for chiming in here!
I've incorporated this counter into my course; however, it's not counting backwards. I'm using custom Next and Previous buttons. What trigger and/or variable am I missing?
Never mind - my triggers were not in the correct sequence. ALL good!
Hi paul,
Create a numeric variable and set its value to a slide number you desire (in every slide).
Now add the piece of text %variableName%/total or %variableName% of total in master slide.
Note: Replace total with total number of slides you have.
Hi Mary,
Glad you were able to figure it out. Trigger order is always important to keep in mind and elements are executed as described here.
Killian, thanks for the simple solution.
I have a question for the programming gurus...is there a way for this to work when the client uses the menu to navigate instead of the "NEXT" and "PREV" buttons. Using the menu causes this solution to go all haywire.
Hi James!
Not sure if Killian is still subscribed to this thread, but you are welcome to reach out via his user profile and the 'Contact Me' option available.
Hi James
The solution I offered uses the starting of the timeline to add another increment to the counter. So if you are on slide 3 of 3 and jump back to 1 the counter will read 4 of 3, but you already know this. It will not represent a non linear approach properly.
You'll need to use the solution offered by Kumar V which involves a trigger on every slide...but if you've got to do something on every slide, you might as well just write the slide number. It isn't very satisfactory unfortunately.
Thanks for that update Killian.
I think that Ron San, might be on to something: https://community.articulate.com/discussions/articulate-storyline/slide-visit-count-using-a-single-sl-variable-javascript-identify-each-slide-uniquely.
Thanks for sharing the link here Killian :)
Thanks for the rapid respond Killian
Just an FYI James, responding via email includes your signature here so you may want to look at editing the post to remove that information. It's ok by us i you want to keep it there!
This post was removed by the author
Glad that this was helpful to you as well Doug :) Thanks for chiming in to share. I love seeing these older threads continue to help others.
Are there any updates with a simplified solution to page numbers?
Being able to access a system variable that contains the slide number (e.g., 1.1) could be very useful.
This discussion is closed. You can start a new discussion or contact Articulate Support.