The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I’ve been playing over at CodePen trying to get scrolling shadows to work.
This is what i’m trying to achieve.
when the scroll bar is at default only the right shadow display. as you scroll across both display, and when you get to the end only the left shadow displays.
I’m only just starting out with jQuery so go easy on me.
Any help would be greatly appreciated
This is where I’m at with it so far [http://codepen.io/hugo/pen/cvLln](http://codepen.io/hugo/pen/cvLln “Dynamic Scrolling Shadows”)
Ok I’ve been playing around further with this. All i need now is to detect when the scroll bar is at the end and remove the class “.shadow-middle” and add the class “.shadow-left”.
Any ideas how I would achieve this?