Advanced CSS Style Switcher
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 10669
Total Votes: 139 votes
Submitted on: 2008-03-07 09:43:14
Submitted By: Devesh Khanna
Description:Since we all know just how popular css design has become.
I thought i would release this tutorial on how to do something new.
With this small script, you or your visitors will be able to completely change the look of your site with one click.
So lets Begin…….
First, lets set up the basics to get you organized, and insure this will work properly.
Create a new folder on your hard drive.
Within that folder create two new folders.
Name one, “images” and the second one “style2″.
This will let you store both images for each layout in seperate folders so things do not get messed up.
Create your sites design using css, the blocks, layout and so forth.
Lets call this “Style.css”.
Remember that you can also include images in the layout as well.
Then once you have completed that, copy it and rename it to “Style2.css”.
Now what we will do is add the following code into the main page of your site.
In the index.php, or html file itself. More detail...