Forum Discussion
Re: Customizing Scrollbar Color & Style in Storyline 360's Scrolling Panel to Match Themes
Hello, now, the example work without click in slide, you can change the width of the scroll bar, this take 1s to load the plugin, just apply this javascript at start of the module before a slide with a scrollbar ;)
11 Replies
- DavidKelley-54eCommunity Member
I've used similar scripts to do this as well. But this one is nice and clean. If you add a width to the .scrollarea-btn:after styles, you can make the button area larger or smaller than the track.
- AmyGttCommunity Member
Just wondering if you have any scripts, you wouldn't mind sharing? I am not very familiar with JavaScript, but I can usually manipulate and implement it.
- NickWilliams-70Community Member
This is a great solution. Is there a way to make the scrollbar responsive? If we have a scrollbar width at 30px for web, when viewing in mobile, the scrollbar is far too wide. Any advice?
- MattOckenfels-cCommunity Member
Thanks, what a great solution. While experimenting with this I noticed the button area changes color when the mouse pointer hovers over it and while using the button to scroll. In my case the button turns dark gray. Is there any way to control the color of the button when it is in use? Thoughts? Thanks!
- FelixFrankeCommunity Member
I find the same.
While not being an expert in JS or CSS, I guess you need to know what object class the "mouseover state" of the button is in the CSS of Storyline, then you can change that as well.
I haven't had time to find that out (yet). Wouldn't it be great if there was a place here in the forum to collect all the cool JS solutions people post here?
Hi FelixFranke,
In fact, we have a dedicated space for JavaScript discussions here. You'll find more focused discussions there, as well as some examples shared by community members. Thanks for your help in growing this community!
Related Content
- 7 months ago
- 7 months ago