Help with Course Development Issue! Sample Attached.
May 4, 2016 12:00 AM
I have attached the lectora page I am experiencing the problem with. Please view this prior to reading.
undefined
Okay, now the problem I'm having is with the 'rectangle-info' notifications (the text under the (i) which reads 'Hover over i for more info'. ) How I need the desired outcome to work: the rectangle-info should be visible underneath ALL (i) buttons. Once the user enters-mouse over ANY of the (i) buttons, the rectangle-info should never again appear (never appear on the page, and not just for each individual picture.)
How can this be achieved?
Discussion (11)
You can use a variable to track whether the info has been visible and use it as a condition when showing it. Modify the variable when the info rectangle is hidden for the first time and show it only if the variable has its initial value.
Tim
The problem is however - the info rectangle text should NEVER be visible when the user clicks/or views buttons: 5, 7 & 8, out of the total 9. For example there are no (i) icons for these buttons, hence the info rectangle should not be present.
This is the part where I get stuck, because if the user never initially hovers over the (i) that info rectangle text would still be visible when the user clicks on buttons 5, 7 or 8. The desired result is for the info rectangle text to ONLY appear under the (i) icons; once ANY (i) icon has been viewed, the info rectangle text should never again need to appear.
Perhaps I'm missing something. Why can't the rectangle simply be hidden after the user dismisses it the first time, by an OnMclkHide action? It won't reappear unless you show it or reload the course.
As mentioned above, set a variable to 1 or 0. Add a condition to the unhide action that it only operates if "HideTheInfo" is 0.
It's because the info rectangle is initially hidden; there are 9 buttons the learner will click on, when they click on the buttons, the info rectangle appears. They then would dismiss the rectangle as you pointed out, but if they was to click on one of those 9 buttons (to view content again), the rectangle would again appear.
Yeah that's the one. It's that rectangle with text, that reads "Hover over i for more info".
I must confess my previous answer came before downloading and viewing your attachment.
I find that I still don't know what you are trying to do. When you write "rectangle-info" above do you mean the object named "Rectangle info1" in the Lectora file?
Tim, thanks for the effort, but it's not what I need. On your attempt the rectangle info is not visible under all the (i) icons. For example on buttons 2,3,4..
The rectangle info should be visible under all (i) icons (not all of the 9 buttons show the i icon), and whenever the rectangle info is hidden (note: user might not view/hide until button 3 for example), it should remain so, and never appear again (even when user clicks through the content for a second time).
Carl it's not that straightforward unfortunately, but if you can find a solution and show us that would be cool.
Rather than spend a lot of time modifying all the actions for all the buttons, I just put an action on the "Hover over i" rectangle that moves it out of the viewport when it is hidden after its first appearance. See attachment. (Ignore the new variable I created and then didn't use.)
I've found a different solution, although not what I originally wanted, it will do. Thanks for the help anyway guys.
Discussions have been disabled for this post