Re: Suggestion: Collapsible sections in posts
I liked the idea as well... and the hover trick works on most newer browsers at the time I tried it, but there was at least one of the major browsers that wouldn't have worked on a version that at the time wouldn't have been surprising to see.
I had contemplated, rather than having it display off... perhaps having it shrink the font-size of text by a lot. However, Jase has an excellent point that HOVER might be difficult to achieve properly on tablets that are using touch.
The question I might have would be, would it be possible to have the base spoiler as is... but have a spoiler_shrink method that gets called at pageload if javascript is enabled, that changes the class to jsEnabledSpoiler or something like that, which would shrink the box at load. Then as you know JS is enabled, because it only comes into play if the load JS got triggered, you have a JS handle designed to reveal the spoiler when it is clicked on?
It would be an idea... would work for browsers that have JS enable (with increased functionality) as well as non-JS browsers, which would get the original behavior.
Just a thought. I like the idea of JS not being required, but admit it would be nice to have the enhanced functionality if you do have JS turn on.