You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a site which contains a fixed div, within which there is a long scrolling div containing content. Is it possible to configure spark-scroll to use a specific div by id, which it then uses as the reference for the scroll offset?
The text was updated successfully, but these errors were encountered:
@rossanthony, if you solved your problem, what was the solution? I've been reviewing the source code for this and my intended use case matches yours.
If you didn't solve it, I've been reading through the source to see how to make that possible, and I think it might be as simple as passing a reference for the directive to know which element to attach the scroll listener to.
@theaccordance - I ended up restructuring the page so that the scrolling div was no longer inside a fixed one. The design requirements I was working to called for a fixed outer frame with a bg image and I found a way to mimic this effect through other means, see: https://acknowledgement.uk/.
I'm working on a site which contains a fixed div, within which there is a long scrolling div containing content. Is it possible to configure spark-scroll to use a specific div by id, which it then uses as the reference for the scroll offset?
The text was updated successfully, but these errors were encountered: