CSS Random Changer
Sorry if I posted in the wrong place, but I'd like to know where I can find a way to do a style sheet changer like in spoono.
___________________

Login |
CSS Random ChangerCSS Random ChangerCurrently viewing this thread: 1 (0 members and 1 guests) NiebStatus: Offline!
CSS Random Changer Sorry if I posted in the wrong place, but I'd like to know where I can find a way to do a style sheet changer like in spoono. ___________________
This is more of a PHP question. It's probably pretty simple though. ___________________ irc.efnet.net #neverside
NiebStatus: Offline!
I know that's a PHP script they use, I wanna know if there's another way to do it. Javascript perhaps? ___________________
I've heard that the problem with Javascript and changing stylesheets is that Javascript only adds to the existing stylesheet instead of replacing it. PHP just seems like a better option to me. ___________________ irc.efnet.net #neverside
<?php $rsc = (rand(0, 4)); // random stylesheet code $css = "$style[$rsc]"; echo "<link rel='stylesheet' type='text/css' href='".$css.'" />"; ___________________
or
or
or
___________________ http://www.philbrodeur.com - Expert PHP Development and Tutorials Last edited by Phil, November 27th, 2003 05:14 PM (Edited 1 times) Spoono doesn't use the random style changer. He lets the viewer choose it. ___________________ And the sig ran away with the spoon.
then use links like: etc ___________________ Jeremie - Used to be the Director of Community Development |
Copyright ©1999-2008 Neverside. All rights reserved.
Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach
NeverAPI generated this page in 0.0103 seconds.