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

 
Ramasax
Paranoid (IV) Inmate

From: PA, US
Insane since: Feb 2002

posted posted 09-07-2003 09:36

I want to do basically what www.spoono.com does with different 'flavor' sites, you click a flavor and the style sheet is changed. Can I do this without server-side scripting?

I know I could do this with ASP, but the hosting for the site I am working on doesn't support it. If it has to be done server-side, does anyone have a link to a php script that is easy to figure out for a beginner?

edit: Found an easy looking PHP script in the server-side forum. I should be able to figure that out. But I would still like to know if there is a way to do it without any server-side scripting. Probably no, but then again I am learning new things about CSS everyday that amaze me.

Thanks



[This message has been edited by Ramasax (edited 09-07-2003).]

HZR
Bipolar (III) Inmate

From: Cold Sweden
Insane since: Jul 2002

posted posted 09-07-2003 10:34

Check this article: http://alistapart.com/stories/alternate/

Ramasax
Paranoid (IV) Inmate

From: PA, US
Insane since: Feb 2002

posted posted 09-07-2003 12:06

Doh! Simple enough. Thanks for the link, great read.

Emperor
Maniac (V) Mad Scientist with Finglongers

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

posted posted 09-07-2003 15:52

Ramasax: There are numerous ways of doing this and we have covered a number - they are brought together in this FAQ:

:FAQ: How do I change stylesheets dynamically?

___________________
Emps

FAQs: Emperor

Ramasax
Paranoid (IV) Inmate

From: PA, US
Insane since: Feb 2002

posted posted 09-07-2003 20:29

Thanks guys, think I have it all worked out. I guess there is no reason to post any questions because there seems to be a FAQ for everything.

Veneficuz
Paranoid (IV) Inmate

From: A graveyard of dreams
Insane since: Mar 2001

posted posted 09-08-2003 00:01

I think the general idea behind the faq is that you should first check for info there. If you're left with questions (or get new ones) after having read there, you should by all means post them. The faq isn't meant to discurage questions in any way

_________________________
"There are 10 kinds of people; those who know binary, those who don't and those who start counting at zero"

Emperor
Maniac (V) Mad Scientist with Finglongers

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

posted posted 09-08-2003 04:23

Yep the FAQ is to bring us all up to speed on a rather broad area and then we can discuss specifics and problems - it should just be the start not the end of things

___________________
Emps

FAQs: Emperor

Ramasax
Paranoid (IV) Inmate

From: PA, US
Insane since: Feb 2002

posted posted 09-08-2003 10:22

Funny thing is I looked there, but missed it probably due to sleep depravation.

When I said there are no need to ask any questions because there is a FAQ for everything, it was a compliment to everyone here who has donated time to contribute to it. Definately one of my favorite resources.



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


« BackwardsOnwards »

Show Forum Drop Down Menu