View Full Version : Style Sheet Switcher question

01-29-2006, 12:53 AM
Hi. I'm designing a kids'-oriented web site and would like to use Style Sheet Switcher so visitors can choose their own colors. I'm a designer, not very technical, and use GoLive on Mac. In my initial tests, I've been able to get the script to work, but it appears that a visitor would have to choose a style sheet on each page, rather than being able to make a site-wide choice from, say, just the home page. Is there a way to get this to work the way I want it?

01-29-2006, 01:06 AM
Have you entered a number into the 2nd parameter of chooseStyle(), for example:

chooseStyle(this.options[this.selectedIndex].value, 60)

The 60 tells the script to persist this selection for 60 days, though cookies must be enabled on the visitor's browser in order for this to take effect.

01-29-2006, 01:22 AM
I went back in to the files and deleted my subsequent pages, duplicated & renamed the index page and it seems to be working for me. There must have been something missing from those pages. Thank's for the help!