meinemitternacht
asked on
How do I change a CSS bakground on refresh?
I have a drupal site located at http://www.claudebing.com and I want to be able for the background image on the front page to change when refreshed. I have 10 or so images that are all the same size in my gallery, http://gallery.claudebing.com under the album Backgrounds (rotating). Is there a way to call a php script in the CSS file that will randomly select an image from that album? Or would it be simpler to call a file from a directory?
Thanks!
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you very much Selvol, hit it right on the money. Mallcore, that's way over my head :)
ASKER
Thanks a ton!
Glad to assist..
Yes, over our heads.....??
Yes, over our heads.....??
ASKER
Over my head... means too complicated for me :)
Check this out http://www.catswhocode.com/blog/3-ways-to-compress-css-files-using-php