Results 1 to 3 of 3

Thread: Style Sheet Switcher question

  1. #1
    Join Date
    Jan 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Style Sheet Switcher question

    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?

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Have you entered a number into the 2nd parameter of chooseStyle(), for example:

    Code:
    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.

  3. #3
    Join Date
    Jan 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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!
    Last edited by debiwebi; 01-29-2006 at 01:41 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •