List - On click open up Div
I have been wracking my brain thinking of a way to come up with displaying the below information. I attempted to create a select menu, but the menu was too long for the likes of IE. So I came up with the below idea. I just need a little help putting it together.
I have a list of 40 states, listed out as such:
District of Columbia
When I click on a state, I want a div to open up undearneath that state showing information about that particular state.
When I click the state again it will then close that div. BUT, if I click on a different state, the state I had open previously will close and the new state I just clicked will open.
Does this make sense? Any help would be great.
Thanks soo much!
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)