Creating a collapsible HTML List using JQuery

by Aboo Bolaky 17. November 2008 17:19

Yesterday, I came across this really nice article by Jeroen Coumans that explains how to create a collapsible HTML list using JQuery. The reasons why I like his solution are:

1. It's simple and easy to understand. It takes only a couple of lines to write the JQuery code.

2. It allows you to add the "active" CSS class to the selected item in the list.

3. Most importantly, it allows you to have a clickable parent item (where the link to the parent item doesn't just point to a #; it can refer to other pages on your site) 

You can have a look at the article here

 

Tags:

.Net | Asp.Net | Tips & Tricks

Comments

11/5/2011 7:07:33 AM #

riad

Woh I savor your meaning , saved to preferences ! .

riad France |

11/7/2011 6:52:41 AM #

Tout Marrakech

We’re a gaggle of offers further breach a unfamiliar intrigue in our district. Your trap place offered us accompanying precious info to portraits on. You’ve accomplished a menacing employment further our gross locality ability be thankful to you.

Tout Marrakech France |

11/7/2011 1:15:31 PM #

Marrakech guide

Hi, you secondhand to inscribe huge, however the hindmost handful dispatchs bear been kinda tiresome I skip your marvelous manuscripts. Ago various dispatchs are legitimate a exiguous away of road! happen on!”To undertake is to misplace digit’s basis momentarily. To hardly undertake is to misplace oneself.” by Sren Aaby Kierkegaard.

Marrakech guide France |

11/13/2011 5:37:59 AM #

visite Marrakech

Right what I was searching for, understand it for posting . “There are innumerable victories worse than a debacle.” by George Eliot.

visite Marrakech France |

11/13/2011 12:21:28 PM #

sejour Marrakech

As soon as I noticed this website I went on reddit to lot some of the love with them. “A sect or party is an courtly concealed devised to skimp a hombre from the irritation of thinking.” by Ralph Waldo Emerson.

sejour Marrakech France |

11/15/2011 2:54:42 PM #

pret immobilier maroc

Thankyou for this marvelous enter, I am pleasing I observed this internet spot on yahoo.

pret immobilier maroc France |

11/16/2011 2:59:40 AM #

le secteur immobilier au maroc

Fine understand, I right passed this onto a associate who was doing some research on that. And he right bought me lunch as I base it for him smile Thus let me rephrase that: Thank you for lunch! “They may forget what you said, but they mind never forget how you made them perceive.” by Carl W. Buechner.

le secteur immobilier au maroc France |

Tag cloud

Flash Player 9 required.

About Me

I wish I could write something here..
//TODO: ElaborateMe