Forum Moderators: not2easy
<?php
$styles = array("style1.css","style2.css","style3.css");
$random = rand_array($styles);
$random_style = $styles[$random];
?>
<head>
<link rel="stylesheet" type="text/css" href="/path/<?php echo $random_style;?>" />
...or something like that should do it.
I understand fun changes, like the way Google dresses up for the holidays.
I understand functional changes, like offering alternate sheets to folks that don't like the default.
I'm probably just stuck in a rut, but mostly I like sites to look the same from visit to visit unless there's a reason to change. It always throws me when Brett merely changes the order for listing the forums!
Tom
I've got 3 different patterns that I use for the background on my site, and the colors are distinct from one another. So each of the 3 style sheets would then display a certain pattern bg, and the corresponding colors for links, etc. just something to make it interesting w/o throwing users (completely) off.
if you want to see my site, to see what I'm talking about exactly, shoot me an email - I don't think I'm allowed to post my site on here (self promotion or something like that).
thanks for the suggestions by the way. I had actually started playing with the code from ALA and one of his linked 'friends', so was already headed in this direction.
appreciate the help tho!