I've been intrigued by the scrolling effects used on websites like Google SketchUp and Google Plus. It's fascinating how elements can transform as you scroll down the page. For example, on Google SketchUp's site, the banner starts off integrated into the page but then pops out and sticks to the top after a certain point. Meanwhile, on Google Plus, the banner completely changes once you hit a specific scroll position.
My goal is to achieve a similar effect on my website. I want a square logo on the right that scales to match the height of the header as you scroll down. Eventually, I'd like the logo to fade away and be replaced with text instead of an image.
So, what do I need to make this happen? Should I use jQuery or JavaScript? And how can I track the scrolling and seamlessly connect these two transformations?