Jump to content

Creating a hidden div that is visible upon click


harambeegirl

Recommended Posts

I have another idea on how I can manage a lot of data in a right sidebar.I think that I could have a short list of links (no more than two or three).I am trying to figure out if I could have each link connect to content within a hidden <div>. When the user clicks on the link, the content becomes visible below the link. Click on the link a second time and the content disappears again.Does anyone know how or if I could do this?

Link to comment
Share on other sites

murfitUK found a good site with the script and an example...also you can just google: hide div tagif you google: hide div tag examplethe first link is http://www.activewidgets.com/javascript.fo...n-one-cell.htmland it has an example where it's used to show ordered items... they just open 1 div and close another with the click of the mouse...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...