Sliding Navigation Bar with jquery

╄→гoц情女王★ 提交于 2019-12-12 12:39:31

问题


I was trying to create a horizontal navigation bar for a website. Now I need to provide a sliding effect as follows

the navigation menu has 5 links , and the 5th link is a right arrow image. while clicking on this 5th link (right arrow) all other 4 links should be collapsed into this 5th menu and the right arrow should be replaced with a left arrow (now only one link which is the left arrow, and while clicking on this link the previous menu should be enabled)

How can I achieve this?

[edit] Here is the screen shot of the navbar http://i.stack.imgur.com/kFMXb.png [/edit]


回答1:


ok you can try this - http://tympanus.net/codrops/2009/11/30/beautiful-slide-out-navigation-a-css-and-jquery-tutorial/

and the demo is here - http://tympanus.net/Tutorials/FixedNavigationTutorial/



来源:https://stackoverflow.com/questions/6483599/sliding-navigation-bar-with-jquery

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!