Expand/Close single Div function

7 / 2014-02-05 00:19:38   

Just had a thought as to whether anyone has done this on indexhibit yet? Basically, the function where you can have a "closed" div initially with the option to click somewhere on it and it expands to show a body of text for example, then a subsequent option to return the div to "closed". Probably has a proper name and uses Javascript I suppose? I'll google it properly tomorrow, just wondered for now. ;)

Vaska A / 2014-02-05 00:29:20   

For what purpose? Yeah, you could totally do that. Jquery has a very easy .toggle() function that could start out closed.

7 / 2014-02-05 09:49:12   

Ah cool I'll look it up. Well I want to use it as a description area for exhibits, which could show a line of text initially, that you can expand to show more information on the project.

arsondpi / 2014-02-05 10:14:36   

I remember someone asking about something like this years back.
This is quite easy - search the web for "toggle div click jquery"

7 / 2014-02-05 10:55:47   

Yeah got it to work, cheers guys. Works well!

This thread has been closed, thank you.