Topic: Loading a Random BG using CSS (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Lost Angeles Kalifornia, via Hawaii.... |
![]() Is there a way to do this? I want to have about 10 images and I'd like the BG to be random. I know I can do it if it was a regular img, .... i dunno, practical? |
Lunatic (VI) Inmate From: under the bed |
![]() Through CSS alone, no. |
Paranoid (IV) Inmate From: Norway |
![]() For the cross fading banner(s) on my site, I wrote a PHP script that returns a random image in its folder. I can use it directly as the src attribute of an IMG tag or as the background-image property of a CSS rule. |
Maniac (V) Mad Librarian From: the space between us |
![]() i did pretty much what poi mentioned here by using the sig rotator script. i asked for permission of course |