# How to Intercept page scroll event

**URL:** <https://meta.discourse.org/t/how-to-intercept-page-scroll-event/44069>\
**Category:** Development\
**Created:** [11 Mayo, 2016 18:15 UTC](https://meta.discourse.org/t/how-to-intercept-page-scroll-event/44069 "2016-05-11T18:15:03Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![itkin](https://avatars.discourse-cdn.com/v4/letter/i/22d042/32.png) [@itkin](https://meta.discourse.org/u/itkin)\
**Post date:** [11 Mayo, 2016 18:15 UTC](https://meta.discourse.org/t/how-to-intercept-page-scroll-event/44069/1 "2016-05-11T18:15:03Z")

</div>

Hello,

I’d like to add a little script to trigger a function when the header logo changes (when the window is scrolled down).

Well i’m pretty lost at it, being a total newbie to ember and its ecosystem…

Do you which file handle i have to look at, or (what would be so cool) how to do such a thing in “the discourse way” ?

Many Thanks !!

---

_[View the full topic](https://meta.discourse.org/t/how-to-intercept-page-scroll-event/44069)._
