show / hide div help
- Started
- Last post
- 3 Responses
- airey
i'm working on a quick css/jquery job for some developers.
basically we have a nav list with each nav item referencing a divon the page. 30 divs.
i'd like a jquery solution that fades in and out the divs so you only see 1 div at any time in the same place, left aligned top of the page (under the horizontal nav bar).
at this stage i have a nice little drop-down menu bar and a long long list of divs.
can someone help a brother out?
thanks in advance for any leads / advice / whatever.
- thecreativefire0
jqueryui.com perhaps
- Stugoo0
yeah you can use 'tabbed' navigation:
here is a script I have been using for a while now :
http://www.stugoo.co.uk/testbed/…Got it from jQuery for designers.
What it does is it hides all the divs and shows the 1st one (for progressive enhancement)
Then it uses the ID and anchor link to talk to each other.
As long as each div has an id that corresponds to a nav element this will do the job!
- airey0
thanks mate!