blog
Don't like orange?
6/03/2006
Then try blue. I changed the website so you can pick between different theme colors. Right now there is only orange and blue available though. Also, I personally think orange still looks better, but maybe some people like blue. If you want to change the theme you can find the drop down box on the sidebar on the right at the very bottom. Just select the color and it will automatically refresh the page for you with the new color. Eventually, I'll add more colors.
For those of you who are nerdy and care about how it works, I'll explain it. When you select a color it places a cookie on your machine with the value being the color you selected. Then a few javascript functions (you can see them here) check to see which color is in the cookie when you load the page and will display the correct logo and colors based upon that. I didn't really have to change too much, mostly I just had to add some things to the CSS files I am using.
Since I was using cookies for doing this, it did not like how sometimes the domain would switch from dstanich.com to voidonline.net. So voidonline.net will just redirect you to dstanich.com now.
For those of you who are nerdy and care about how it works, I'll explain it. When you select a color it places a cookie on your machine with the value being the color you selected. Then a few javascript functions (you can see them here) check to see which color is in the cookie when you load the page and will display the correct logo and colors based upon that. I didn't really have to change too much, mostly I just had to add some things to the CSS files I am using.
Since I was using cookies for doing this, it did not like how sometimes the domain would switch from dstanich.com to voidonline.net. So voidonline.net will just redirect you to dstanich.com now.