Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 750283
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T14:31:59+00:00 2026-05-14T14:31:59+00:00

I just try putting the jquery-ui theme switcher on my website. Seems that there

  • 0

I just try putting the jquery-ui theme switcher on my website. Seems that there are some problems:

  • Cookie does not work. When I close the browser and reopen the webpage, the default theme will load instead of the one selected before.
  • The selected theme is valid for current page only. If jumping to another page, it will load the default. I want to select once and apply to all pages.
  • There is a flash of the default theme before the selected theme get loaded.

Anyone know an easy way deal with these problems? I know I can implement my own cookie solution based on that theme switcher, but I was so surprised that the author did not provide options to do these.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T14:32:00+00:00Added an answer on May 14, 2026 at 2:32 pm

    I end up downloading the script and modified it a bit, adding an option named cookieOptions which will be passed to the $.fn.cookie plug-in. Set cookieOptions = {path: ‘/’}, so that the theme will apply to the whole website globally. For the short flash of the default theme, the solution is to update css link on the client side instead of making a request to a php file on the server.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way to tell ifort or gfortran to just try to parse
I'm just starting to try out phpunit on some existing code. The naming convention
I have created a utility method that contains some try/catches in it. In those
Is there a way to catch these Exceptions? (I am not looking for just
I feel like I'm missing something obvious here. I just wanted to try putting
I used mmap(just try to understand how mmap works) to allocate 96k anonymous memory,
I'm just starting to try to pick up the J language, and am confused
I try to do a simple image slideshow in php (just cycle images, no
I just installed Java 1.6_07 so I could try profiling with VisualVM. It tells
When I try to allocate a Texture2D the app just crashes. I've stepped through

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.