ncyoung.com

bookmarklet for collapsing unordered lists

This entry is in the following categories:

Top->Programming->Web->JavaScript/DHTML
 - Older in JavaScript/DHTML: diagnostic css in a bookmarklet
 - Newer in JavaScript/DHTML: bookmarklet heaven

This bookmarklet turns regular ULs and LIs into collapsing lists. It only works on two levels, someday I'd like to upgrade it to work at any level.

Click here to activate or right click and bookmark

And here's a list to test it out on:
  • fruit
    • apples
    • oranges
  • veggies
    • celery
    • cabbage


It's a litte weird if you click it more than once... could use some more work as a bookmarklet... maybe when I win the lottery!!

Thanks to Kay who wrote the original JS for this.



Dated: 04/14/2004