Previous Message
Next Message

Re: [css-d] Dynamically Swap Stylesheet

Sent by Eric A. Meyer on 22 April 2002 13:01


At 11:30 -0500 4/22/02, Conor Doyle wrote:

>Is there away in a HTML page, using JavaScript, PERL, or PHP to switch the
>stylesheet that I have set up via < link rel="stylesheet"....> or by
>@import?

    I recommend checking out the article and script available at 
<http://www.alistapart.com/stories/alternate/>.  That's the script I 
use on meyerweb.com.  There are others available, but that one seemed 
nice and clean.

>If possible do we know what browsers will support this?

    v5+ browsers seem to, except for Opera.

--
Eric A. Meyer (http://www.meyerweb.com/eric/), List Chaperone
"CSS is much too interesting and elegant to be not taken seriously."
   -- Martina Kosloff (http://www.mako4css.com/)
Previous Message
Next Message

Message thread: