March 12th, 2003, 01:13 AM
changing skin with CSS
I've seen some webpages than can change CSS with a single click. Another version is to change the font size with a single click. I wonder how they do it. any hints? many thanks in advanced.
March 12th, 2003, 09:40 AM
March 13th, 2003, 10:36 PM
wow! it's awsome! thanks a million!
btw, how can i preload the css file?
March 14th, 2003, 12:29 PM
April 11th, 2003, 07:09 AM
Could I make it so when you mouse over one of the links to change the style sheet, it shows you what the style looks like. And when you mouse out, it still has the current style that you were using. This way you don't have to keep following links until you find the right one. Just mouse over a few and see what you like.
April 11th, 2003, 10:19 AM
April 18th, 2003, 04:05 PM
I dont really like those methods.. they seem kind of kludgey.. and do not work in a wide array of browsers.
I have implemented something similar here:
I am using .asp for the actual switching part, which then calls different style sheets which even contain different color images (for the logo).
Basically, there are no layers involved, only changing the style sheets.
This can be done pretty easily, and it seems to work in most current browsers.
April 18th, 2003, 06:14 PM
The examples I posted should work in any modern browser. I know that it works in both IE and Mozilla/NS.
People who use the 4.x version browsers should be made to upgrade.