Closed Thread Icon

Preserved Topic: ALA: Style sheet swapper Pages that link to <a href="https://ozoneasylum.com/backlink?for=18459" title="Pages that link to Preserved Topic: ALA: Style sheet swapper" rel="nofollow" >Preserved Topic: ALA: Style sheet swapper\

 
Author Thread
Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 11-06-2001 17:20

ALA: are promoting a dynamic style sheet swapper in their latest edition:
www.alistapart.com/stories/alternate

and only a few days after I pointed out the methods we were kicking around!!:
www.alistapart.com/discuss/read.cfm?forum=80&id=11060&thread=2839

It seems to solve a problem one guy was having (see the top of the thread).

Thoughts?

Emps


You're my wife now Dave

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 11-06-2001 19:55

Thanks for the link and info. I was thinking about making a style changer for my site. This will make things a lot easier.

Thanks again.

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 11-06-2001 20:14

CPrompt: I know you don't need reminding but for anyone interested this has been explored here:
www.ozoneasylum.com/Forum2/HTML/001042.html

Emps


You're my wife now Dave

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 11-06-2001 23:27

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 11-06-2001 23:40

Ini: Thanks for the words of caution. That, of course, presupposes that someone has access to server side scripting (although in this day and age if you can't then move your host, if you can). I don't see it being an either/or situation as it would be no problem to work up a server side solution while leaving those that have the right browsers to have the client side stuff.

Emps


You're my wife now Dave

jiblet
Paranoid (IV) Inmate

From: Minneapolis, MN, USA
Insane since: May 2000

posted posted 11-07-2001 00:31

I use server side because I have the luxury of a dedicated server with PHP parsing on .html pages, but I think very reasonable solutions can be crafted clientside (even w/o JS to an extent).

My strategy is to define my main stylesheet for NN4 then load a modifying stylesheet that sets everything up for IE if the browser is anything but NN4 (this can be accomplished without code by using @import rather than link to load the stylesheet), then due to a peculiarity of Mozilla, I have it a load a 3rd stylesheet for NN6. I use PHP to do this, but the first 2 steps are easily accomplished even without JS.

-jiblet

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 11-07-2001 01:27

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 11-07-2001 02:50

jiblet: I've also used PHP to generate the external CSS for the client side style sheet swapping (it makes adding new style sheets and updating much easier) and doing it all in one place might make things easier for you (that solution seems a little convoluted) just remember to add this to the top:

code:
header("Content-Type: text/css");



or change your .htaccess file to allow the parsing .css files as PHP.

Emps


You're my wife now Dave

« BackwardsOnwards »

Show Forum Drop Down Menu