Forum Discussion
ReneeHeberli891
7 months agoCommunity Member
I need the scroll panel scroll bar start at the bottom and scroll up.
I’m working on an interactive project where I would like to use the scroll feature, but the first action I need is to scrolling up not down (which is the default.) When I place the image in the scrol...
- 7 months ago
Hi Renee,
Try adding this javascript trigger on the slide you want the scrollbar to start at the bottom:
var x = document.getElementsByClassName("scrollarea-area");
x[0].scrollTop = x[0].scrollHeight;
Taylor
5 months agoCommunity Member
I'm trying to get this to work with my limited java knowledge but...I just can't figure it out. I copied the script and added the trigger "execute js when timeline starts on this layer" but I have no idea what I'm doing wrong. I have the class name via the accessibility text. What goes in x[0].scrollTop and x[0].scrollHeight? I've been playing with numbers...help?
Related Content
- 6 months ago
- 4 months ago
- 8 months ago