stunicholls.com

...exploring the possibilities

jQuery show/hide list information

13th December 2009

copyright © 2009 stunicholls.com

Information

This version of show / hide information uses jQuery and an unordered list. The list items all have the same classname and can be used anywhere on your page. The first word in each list item has a classname that is the same as the id of the div to be shown or hidden. The div can contain any information and can be styled as you want.

Tested in IE6, IE7, IE8, Firefox, Opera, Safari (PC) and Google Chrome.

Download

All the information you need for this demo is in the page source code. You will also need a copy of jQuery.