navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Visitors Choose the style

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> Visitors Choose the style
Page: [1]
 
Avick

 

Posts: 181
From: Ireland
Status: offline

 
Visitors Choose the style - 4/23/2004 11:31:42   
Not sure if this was posted before. Had a look and can’t find it.

I want to setup 3 links on my site so visitors can choose the style they would preffer.
Something like (Blue, Green, Orange)

When they click the link, the style of the site changes to the one they like. It will also stay at that colour the next time they visit.

Any Ideas!!

_____________________________

Alan
http://www.newebirl.net
Giomanach

 

Posts: 6112
Joined: 11/19/2003
From: England
Status: offline

 
RE: Visitors Choose the style - 4/23/2004 12:11:36   
Alan

You will need to create the site three times, and split it off so each colour scheme has it's own folder. Then you will need to create three stylesheets with different coloursa ssigned to them. when you create the site, you will just have to offer them three links giving them the choice of your chosen colours

Any Good?

Dan

_____________________________




(in reply to Avick)
Donkey

 

Posts: 3887
Joined: 11/13/2001
From: Blackfield United Kingdom
Status: offline

 
RE: Visitors Choose the style - 4/23/2004 12:41:31   
I think you are looking for Style Sheet Switching

_____________________________

:)

I have a higher and grander standard of principle than George Washington. He could not lie; I can, but I won't.
Samuel Clemens

(in reply to Giomanach)
Nancy

 

Posts: 3626
Joined: 11/9/1999
From: Nebraska
Status: offline

 
RE: Visitors Choose the style - 4/23/2004 13:04:01   
quote:

ORIGINAL: Giomanach

You will need to create the site three times, and split it off so each colour scheme has it's own folder....


Now that sounds like a waste of perfectly good server space. *S* As well as a totally wrong answer. If you think about your answer Dan, I'm sure in just a few seconds you'll be hanging your head in shame that you even posted that. (Hint: Ever been to a forum that allows you to pick your "skin"? How do you think they do that?)

As for how to do this Alan, there are a variety of ways. I'm providing a link to some information about the options, and you can see what might match your needs. Some methods use javascript, some use server-side scripting, so you'll want to look at what might work best for you.

http://css-discuss.incutio.com/?page=StyleSwitching

Nancy

_____________________________

Easy Estimates -- is a simple to use tool to quickly build a Web site page enabling visitors to quickly and easily create an estimate of the cost of services that you provide.

(in reply to Giomanach)
Avick

 

Posts: 181
From: Ireland
Status: offline

 
RE: Visitors Choose the style - 4/23/2004 13:41:46   
Thanks for your help Donkey and Nancy Will have a look at your links and see what best meets my needs.

Don't be to hard on Giomanach:). Im sure he is looking at his post now while he gets the rope ready for his final act.

_____________________________

Alan
http://www.newebirl.net

(in reply to Nancy)
Giomanach

 

Posts: 6112
Joined: 11/19/2003
From: England
Status: offline

 
RE: Visitors Choose the style - 4/23/2004 15:34:20   
I blame it on work. A boring job will do that to you.

My bad - totally

Note to self - drink more coffee to wake up during work hours

_____________________________




(in reply to Avick)
jaybee

 

Posts: 14175
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Visitors Choose the style - 4/23/2004 15:38:55   
Ahhhhh, so now I know why he phones me.

It has nothing to do with my scintillating wit and conversation.

He's Bored! :)

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to Giomanach)
Giomanach

 

Posts: 6112
Joined: 11/19/2003
From: England
Status: offline

 
RE: Visitors Choose the style - 4/23/2004 15:49:35   
That is sooooooo not true lol. It's to discuss business, although it would make sense:)

_____________________________




(in reply to jaybee)
bobby

 

Posts: 11394
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: Visitors Choose the style - 4/23/2004 17:34:38   
I've done this before using an ASP scripted page that populates an inline style sheet from a database...

Visitors can select a particular style, then get cookied so that each time they come back their choice is remembered.

But it turned out to be a lot more work than it was worth. I think I still have a sample up here: http://www.bdwebservices.com/development/dragonworx/dragonstyle/dragonstyle.asp

It hasn't been touched in ages, but it looks like it still works.. LOL

Also, this has been mentioned many times, but check out the style switching on http://www.csszengarden.com/ - choices are along the right side of the page... VERY slick!

_____________________________

If con is the opposite of pro, is Congress the opposite of progress?


:)

(in reply to Giomanach)
c1sissy

 

Posts: 5084
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: Visitors Choose the style - 4/23/2004 17:46:05   
Eric Meyers also has a site that has the styles listed on the right side of the page. I just don't remember which of his sites has it.:)

_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://directory.css-styling.com
http://fmsforum.com
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to bobby)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> Visitors Choose the style
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts