sockiplastsmurfen/moodle-mod_labelcollapsed — pull request #1 by jonof (2012-03-16 05:45:09+00:00)
Title: improved javascript, collapsing now works via styles

Some improvements you may like:

1. JavaScript is now modularised and uses YUI for DOM manipulation.
2. Label visibility is driven by CSS styles. When JavaScript is disabled, the label content is shown in expanded form. With JavaScript enabled, the existing behaviour of initially showing the label collapsed is used.