|
#1
|
||||
|
||||
|
styleswitcher question
I am trying to have an other css files for global settings but cannot be load when using the styleswitcher.js script.
Is there a hack or modification with the script itself that can be done to use an other css file for global settings... Thanks |
|
#2
|
||||
|
||||
|
the alternate one should have the "alternate" attribute, then the other one is the default one. Default should be placed before alternate line
|
|
#3
|
||||
|
||||
|
Quote:
ok, that I know what I mean is: 3 css files, on that will work with both style switcher ex: no styleswitcher css_no1 for globale not affected by switching action with style switcher css_no2light switchable for light template css_no2dark switchable for dark template Hope you understand now... |
|
#4
|
||||
|
||||
|
As far as I understand, you'll have to set the css_no1 as default and the two others as alternates. But as soon as one of the two switchables is chosen, it is saved in a cookie and will be called automatically when loading the page.
So you could either use the css_no1 as a third switchable style or get rid of the cookie |
| Post Reply |
| Thread Tools | |
|
|