Forum Discussion
Jump to specific point in a scrolling panel
That's actually not true. Using JS you can jump to a point in a scrolling panel.
See here - https://www.youtube.com/watch?v=c_WjEe0qzUo
This video is great and I think it may solve a problem I'm having, but the author left out some details that I just can't figure out.
Note: I have zero experience in javascript, but I get that I need to tweak some text in the code.
This is the code he used:
var boxthree = document.querySelectorAll('[data-acc-test~="msgthree"]');boxthree[0].scrollIntoView({block: "end", inline: "nearest"});
Can you tell me what "boxthree" is? I'm guessing a variable. Did he create a variable in Storyline? If so, what is the value I should assign it in Storyline? What does it represent? Where is it used? I know I need to tweak this to whatever I want, but I don't know where this is coming from.
IF I can figure out what I'm supposed to do with "boxthree" I might be able to use this solution.
Related Content
- 8 months ago
- 5 months ago