Tags: 5 faces, chance, improvements, php, random
Well, I had some spare time today so I played around with rotating sidebars. Pure hardcoding, no plugins. Booyeah. Once you empty your browser’s cache you’ll see the changes.
The coding uses PHP’s rand() function… which often doesn’t appear to be truly random when the variables are relatively limited. In this case, there are only 5 images to randomize, so while it’s mathematically random, psychologically it doesn’t always appear that way.
Below are the 5 images that I’m using “temporarily”.