This one gonna be hard, because I have no demo of this, but I believe you will get what I'm saying ;)
There are many sites with an arrow below active menu item (the site you're browsing NOW). The point is when you hover on any menu item - the arrow is sliding from the active one to the hovered one and comes back on mouseout (or stays here after clicking).
How does it work?
I guess the arrow below active element is just additional class added while refreshing page to display the new content? But what about sliding? :)
Thanks a lot.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…