IPPC 2010 / Show, Hide or Toggle Elements

Show, Hide or Toggle Elements

Updated: Tuesday, 21 December 2010 at 16:30:45

Show all | Hide all

Section one: a div with a paragraph

You can show/hide an entire div by giving it a class of "toggleanything". Links and other child elements will work fine too. The element directly before this one is a heading, so it gets a show/hide link appended.

Section two: single paragraph

A single paragraph can be hidden by giving it a class of "toggleanything", too.

Now: a list