Show one div while hiding other divs with jquery when clicking on links

后端 未结 4 1711
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-19 21:18

I am trying to create a navigation scheme that has a series of links and number of divs. When I click on link 1 I want to show div 1. If I click on link 2 I want to hide 1 a

4条回答
  •  旧巷少年郎
    2020-12-19 22:01

    Try this

    http://jsfiddle.net/6QJJp/1/

    I guess this is what you need

    you will need to fix CSS according to you requirement.

提交回复
热议问题