Set Color
Why do I have this option?
70 5H0W 0FF My M4d Pr09R4MM1N' 5k1LLZ!! LOLZ LoLOlOl
(Actually, I could not figuure out which color I liked best, so I decided to let my visitors choose their own!)
How does it work?
When you select a color a cookie containing the color you chose is saved. The cookie is read each time a page is loaded, and a PHP script is used to modify the image URLs. Interface images use a file path like orange/title.gif, where the folder name can be changed for each color. The stylesheet is in two parts. The first is main.css, which contains everything except the color of the elements. The second CSS file is one of five stylesheets (i.e. orange.css), one for each color. As with the images, a PHP script includes the correct CSS file on each page.
Now try it! Click one of the links below.





|