Disabling Style Sheets via DOM

After a rather abysmal start of a three part article on DOM and CSS, Alejandro Gervasio came up with an interesting way to switch style sheets via DOM. I took the liberty to make the code a bit less obtrusive and checking for real DOM support. It is not a real style switcher, and personally I consider JS only switchers pointless, but it is an interesting idea.

  • Christian Heilmann
  • About this
  • Archives
  • Search

    © Christian Heilmann 2024