I came across great sites that had a great feature that I will try to explain here.
I tried to study the sources of .js, but since I am a beginner, I could not decrypt the mini versions. :(
Say I have the following markup:
<ul id="posts">
<li id="photo"> Lorem ipsum </li>
<ii id="quote"> Lorem ipsum dolor </li>
</ul>
<div id="logo">My Logo</div>
What I want to do: when a user enters the li # photo area, jQuery will change the background color of #navigator, say blue. If the user keeps scrolling down, he enters the quote li #, and when he enters the area, jQuery will change the color of #navigator bg to red.
When I say enter region, I mean scrolling, not mouse hovering.
There's a Tumblr theme that does what I'm trying to explain:
http://www.figueric.com/ (scroll down and see the navigator on the right)
, , .addclass, , , , , , li #.
, , ?