If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

What I am trying to do is on enter page, only display the toggle-data. Then if this is clicked, I then want to display the content within the div. I did manage to get this working, but the next thing I attempted messed me up. I only ever want one toggle thing to be open at a time. So if I open the first one above, and then open the second one, the first one is closed. Is something like this possible? This is my attempt so far, I think I am close but cant figure it out.

Users who have thanked glenngv for this post:

Thanks for the reply. I actually think I am using http://api.jquery.com/toggle/ although it could be the accordian (lost in so much code right now). Your example is perfect, all I had to do extra was hide the contents of the inner div using css otherwise they were all opened when you first visit the page.