问题
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.
回答1:
Try Googling "jquery lavalamp"
................
来源:https://stackoverflow.com/questions/4799959/jquery-sliding-arrow-under-menu