PDA

View Full Version : Style Sheet Switcher question



debiwebi
01-28-2006, 11:53 PM
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?

ddadmin
01-29-2006, 12: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.

debiwebi
01-29-2006, 12: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!