Topic: css theme? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=10795" title="Pages that link to Topic: css theme? (Page 1 of 1)" rel="nofollow" >Topic: css theme? <span class="small">(Page 1 of 1)</span>\

 
eyezaer
Lunatic (VI) Mad Scientist

From: the Psychiatric Ward
Insane since: Sep 2000

posted posted 08-27-2002 05:23

Could some one please give me a break down on changing css themes on dah fly?

I know I can wrap my codestupid brain around this one? it looks quite simple.

weeeeeeee....

                                                           

reitsma
Maniac (V) Mad Scientist

From: the bigger bedroom
Insane since: Oct 2000

posted posted 08-27-2002 07:26

hmmm.... well, izzay, the quickest way i know is to have php include different stylesheets according to variables (from cookies?),
otherwise, if you want 'on the fly' as in without reloading pages, well, that's javascript going way too far into the DOM, where it just ain't welcome.
i believe that doc was looking at this earlier, a search in the javascript forum wouldn't go astray...

...or, you could also document.write a different style sheet reference in javascript according to a cookie or something...

i hope this helps somehow!

____________
reitsma

Emperor
Maniac (V) Mad Scientist with Finglongers

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

posted posted 08-27-2002 12:48

eyezaer:
http://faq.ozoneasylum.com/266/

___________________
Emps

FAQs: Emperor

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 08-27-2002 15:23

http://www.alistapart.com/stories/n4switch/

eyezaer
Lunatic (VI) Mad Scientist

From: the Psychiatric Ward
Insane since: Sep 2000

posted posted 08-27-2002 20:30

sweetish and yummy!

looks sheepishly at emps... errrr... I kinda forgot we had a Faq.



                                                           

Emperor
Maniac (V) Mad Scientist with Finglongers

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

posted posted 08-28-2002 13:35

~confiscates a days ration of pears~

synax
Maniac (V) Inmate

From: Cell 666
Insane since: Mar 2002

posted posted 08-28-2002 17:52

oh, you'll rue the day you did that...

eyezaer
Lunatic (VI) Mad Scientist

From: the Psychiatric Ward
Insane since: Sep 2000

posted posted 08-29-2002 08:44

*walks back from kitchen with cheese balls and frozen sorbet*

as the song goes? "?we could fill his ears with cheese balls and his nostrils with sorbet"

to clarify... We = I. His = EMPS.

you better start runnin now oh bearded one... you bes start runnin....

                                                           



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu