Forum Discussion
Change scroll panel scroller color
looks like you figured out something important
but, would you please explain where the modifying script goes so as to
improve the articulate scroll bar
thanks
max
Sure thing. I simply put the script to trigger on timeline start, on the page where scroll panel is.
- maxmaizels7 years agoCommunity Member
yes!
i could change color!
but, i attempted to make wider (20px) and narrower ?page as you suggested
with no luck.
this is a great feature!
m- Snorrski7 years agoCommunity Member
Here is an example code to double the width:
$("<style type='text/css'> .scrollarea-scrollbar:before { left: 10px !important; width: 20px !important; border-radius: 0px !important;} .scrollarea-btn:after { left: 10px !important; width: 20px !important; border-radius: 10px !important;} </style>").appendTo("head");
Note that each style rule needs
!important
after it. Also you should set the border radius to be the same as the width, to make it look pretty. Or to zero, for a square look. Finally you need to subtract the same number of pixels from theleft
property, as you add to thewidth
property, when making it wider, and vice versa when making it narrower.I have added a story file for your enjoyment.
- PhilippeDaveze7 years agoCommunity Member
HI,
I have downloaded your story and published it but the buttons don't change the state of the scrollbar. Maybe I missed something? Thank you
Related Content
- 6 months ago
- 3 months ago
- 10 months ago