Reply
Changing a style sheet for a whole site
Old 11-13-2006, 09:26 AM Changing a style sheet for a whole site
jason_bristol's Avatar
Extreme Talker

Posts: 247
Name: Jason Eyermann
Location: england bristol
I want to have a button that allows someone to change the look of my site by changeing the style sheet. I know how to change the style sheet for one page with a push of a button. But when the visitor gos to another page on my site it will then go back. Apart from creating two different sites?

Is there anyway to change the style sheet untill the visitor leaves the site?

The site is under construction still and is on http://www.jasoneyermann.toucansurf.com
thanks

jason
__________________
My Site/Blog - AspireCreate.com

Last edited by jason_bristol : 11-13-2006 at 09:34 AM.
jason_bristol is offline
Reply With Quote
View Public Profile Visit jason_bristol's homepage!
 
When You Register, These Ads Go Away!
Old 11-13-2006, 12:17 PM Re: Changing a style sheet for a whole site
chrishirst's Avatar
Super Moderator

Posts: 13,644
Location: Blackpool. UK
use cookies or sessions to pass which style sheet is used.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-15-2006, 01:43 PM Re: Changing a style sheet for a whole site
Registered User

Posts: 29
Name: Ed
Spoono.com does this. Maybe pick through their code and see
wkdown is offline
Reply With Quote
View Public Profile
 
Old 11-15-2006, 05:49 PM Re: Changing a style sheet for a whole site
dansgalaxy's Avatar
Eat, Sleep, Code

Posts: 6,173
Name: Dan
Location: Swindon
I dout you would be able to view to any great extent of how it works becasue it uses php which as far as i know cant be view without haveing access to the server if it can then please tell me
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Old 11-16-2006, 05:16 PM Re: Changing a style sheet for a whole site
Nahele's Avatar
Extreme Talker

Posts: 197
I think this is what you are looking for:

http://www.unintentionallyblank.co.u...heet-switcher/
__________________
The worst things in life allow us to appreciate the best things

virtual kudos (a.k.a. talkupation) always welcome where deserved.
Nahele is offline
Reply With Quote
View Public Profile
 
Old 11-19-2006, 07:54 PM Re: Changing a style sheet for a whole site
jason_bristol's Avatar
Extreme Talker

Posts: 247
Name: Jason Eyermann
Location: england bristol
THANKS! Nahele.


This link is just what i'm looking. I tried the code and it works brilliant. I want to use it have a buttong that changes the site to girly colours for the females.



Thanks again

jason
__________________
My Site/Blog - AspireCreate.com

Last edited by jason_bristol : 11-19-2006 at 08:27 PM.
jason_bristol is offline
Reply With Quote
View Public Profile Visit jason_bristol's homepage!
 
Old 11-20-2006, 05:22 AM Re: Changing a style sheet for a whole site
Nahele's Avatar
Extreme Talker

Posts: 197
Glad I could help.
__________________
The worst things in life allow us to appreciate the best things

virtual kudos (a.k.a. talkupation) always welcome where deserved.
Nahele is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Changing a style sheet for a whole site
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.15612 seconds with 12 queries