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.