Forum Discussion
RayDeRegis
10 months agoCommunity Member
Scroll Into View JavaScript Trigger Not Working
Wondering if anyone has figured out a way to scroll to a specific line in a Storyline scrolling panel?
I have tried the following JS trigger:
var zoneone = document.querySelectorAll(‘[data-acc-...
SteveGannon
10 months agoCommunity Member
You can try copying/pasting the code below:
var zoneone = document.querySelectorAll('[data-acc-text="modone"]');
zoneone[0].scrollIntoView({block: "end", inline: "nearest"});
Also, you may need to place your published output on a web server to test it. I'm not sure if this works when running the published output from the local drive.