Reputation: 157
I have a page that's formatted to exactly fit the window it's rendered in. When the user "scrolls"
, I want to capture that and change the opacity + size of some of the elements... creating a "scrolling IN"
effect, versus scrolling up/down or side to side.
Is that possible? From what I've been reading it seems like the only way an "onscroll"
event will be triggered is if the page's content overflows the window.
I feel like there's probably a simple solution here and I'm just overlooking it. >_<
I'd love to be able to do this with just JavaScript, but if there's a plugin I can use to achieve the effect that's cool too. :)
Upvotes: 0
Views: 83