Blogskin / style switcher Version 2
In the last post (http://gyeojz.blogspot.com/2007/05/blogskin-style-switcher.html), I've announced the availability of the blogksin switcher.
After some work, I've updated it to remember the user's preferences via the use of cookies. It was some work, but finally it is ready.
For those who want to have a style switcher but are unable to use brothercake's IOTBS in Blogger or some other sites due to the same-origin policy, my style switcher may be the answer. However, it may not be suited for all, but at least it works.
Some good points over the usual "alternate stylesheet method";
1. It loads the styles on demand.
2. Its cross-browser compatible. (at least its tested to work in Firefox, IE6, IE 7 and Opera).
3. Its customizable to load other style required elements like javascript on demand too.
4. The file size is relatively small.
Known Issues
The switcher works by getting the ?css= Parameter in the URL.
index.html?css=0 resets to the default style. While other numbers corresponds to the other style types.
I'll be packaging the scripts into a zip file and releasing it under a license once I solve the Opera bug/problem.
So watch this space =)
UPDATE: Opera Problem fixed.
No comments:
Post a Comment