Title: listCollapse plugin
Last modified: August 18, 2016

---

# listCollapse plugin

 *  [Per Søderlind](https://wordpress.org/support/users/pers/)
 * (@pers)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/listcollapse-plugin/)
 * I’ve written a [listCollapse plugin](http://www.soderlind.no/download/listCollapse.php.html),
   it shows how easy it’s to write a plugin instead of hacking index.php
    You’ll
   find more info about listCollapse.js at [http://www.howtocreate.co.uk/jslibs/htmlhigh/listCollapse.html](http://www.howtocreate.co.uk/jslibs/htmlhigh/listCollapse.html)
   btw, why isn’t it a **wp_footer** hook in the [plugin api](http://wiki.wordpress.org/Plugin/API)?

Viewing 1 replies (of 1 total)

 *  Thread Starter [Per Søderlind](https://wordpress.org/support/users/pers/)
 * (@pers)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/listcollapse-plugin/#post-76349)
 * sorry, the one above had a bug, please download it again.
    I forgot to add `document.
   getElementById('categories').getElementsByTagName('UL')[0].setAttribute("ID","
   collapseMe");`

Viewing 1 replies (of 1 total)

The topic ‘listCollapse plugin’ is closed to new replies.

 * 1 reply
 * 1 participant
 * Last reply from: [Per Søderlind](https://wordpress.org/support/users/pers/)
 * Last activity: [21 years, 9 months ago](https://wordpress.org/support/topic/listcollapse-plugin/#post-76349)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
