Currently Moodle does not provide blocks, filters and modules with an effective method for inserting javascript and css into the head of the html document.
I have developed a modification to moodle which resolves this issue and have added it to the tracker. (MDL-14542)
I wondered what other 3rd party plug-in developers thought about this issue and my proposed solution.
A screencast follows explaining the benefits of the modification:
High quality video (does not stream, you have to wait for it to load up):
http://ossett.schools.wakefield.gov.uk/web/media/video/moodle_mod_screencast_hq/
Low quality video (streaming):
http://ossett.schools.wakefield.gov.uk/web/media/video/moodle_mod_screencast
General developer forum
Moodle enhancement for blocks, filters and modules
This discussion has been locked so you can no longer reply to it.