Forum:Button that will apply css style

would it be possible to write a javascript routine (placed in the site-wide javascript page) that would allow one to click a button and apply a given style to that page?

One could have multiple buttons on the page and each would cause certain elements to take on a given color or not be displayed at all.

Something similar to the collapsible tables button. The code for this button looks like

Granpa 04:31, December 24, 2011 (UTC)


 * I don't see why not. Maybe you could have something like:

turn blue box green
 * ...of course, I don't know if MediaWiki would actually let that work. 04:44, December 24, 2011 (UTC)