I have posted a new snippet on Snipplr. It’s another jQuery snippet that handles the expand and collapse of a div (or span) section. The idea for this snippet is that the user would click a plus (+) image, the code would display the hidden section and change the image to a minus ( – ). The reverse, of course, would happen if the user were to click the minus.

Here is the snippet:

The #img and #div should match the ID attribute of the page elements the code needs to respond to.

You can see this and more of my code snippets at Snipplr.

Happy Coding!