CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.
How do i do this:
when i click “Navigation:” the navigation slides out and the navigation box expands. but when I click it again, how do i make the navigation links retract with the background?
This reply has been reported for inappropriate content.
maybe something like this: http://www.learningjquery.com/2009/09/tab-navigation-with-smooth-horizontal-sliding-using-jquery
Or, you can use .toggle() event: http://jsfiddle.net/P6YF2/6/
http://jsfiddle.net/attilahajzer/P6YF2/7/ Got it! thanks though
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed