Anyway to change the theme of my site using css?

Associate
Joined
25 Feb 2007
Posts
905
Location
Midlands
Right, I have several css files each pointing to different banners and colour schemes etc.

I would like to know if it is possible to have one of these 'loaded' when the user clicks the relevant link?

Thanks
cotton31
 
javascript isn't my thing really, i struggle to implement it when I'm on my own PC and development area, so it would be a miracle if i could do it over a forum.

just make sure you have the mootools library loaded, id suggest using the full, non-compressed version first, for development only. its 100kb in size and isn't suitable for after deployment.

then on the http://demos.mootools.net/Asset.css page, click the js code, html code and css code tabs, near the top right of the content area, and try to copy what they have done. also view the source code for http://demos.mootools.net/Asset.css and see what they have done in their head section, with regards to javascript.
 
Back
Top Bottom