Results 1 to 2 of 2

Thread: Style Sheet Switcher Problem

  1. #1
    Join Date
    Nov 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Style Sheet Switcher Problem

    1) Script Title: Style Sheet Switcher (1.1)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...etswitcher.htm

    3) Describe problem:

    Have started to use this script for a client, but have run into a problem when using 'random', 'sessiononly'.

    When a new session is started, it sometimes loads the DEFAULT stylesheet, but when the page is refreshed, it changes to an alternate stylesheet - then remains on that style (like it's supposed to).

    When the script loads an alternate style to begin with it works perfectly.

    We are wondering how we can fix this so that once the default style loads it stays loaded. Or if there's another way around this.

    Your help is much appreciated.

    Cheers.
    Last edited by Pebble Design; 11-09-2007 at 06:06 AM.

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

    Default

    It could be the way you've defined your default and alternate style sheets. Please post a link to the page on your site that contains the problematic script so we can check it out.

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
  •