Tim Wolf wrote:
> I realize this is a bit of a scripting issue, but I'm seeking a solution from 
> the CSS community as it regards a fundamental style change and a desire to 
> validate in XHTML.
> 
> I am trying to create a page with a body background image that will randomly 
> change when the page is reloaded. After seeking out numerous solutions, I 
> settled on one that works using Javascript to change the image style within 
> the body tag of my document.

Hi Tim

I did a little experiment and write up a while back regarding exactly 
this issue. You can find the write up and sample code at 
<http://www.thought-after.com/2006/05/26/css-random-background-image-rotation/>

Hope it helps

Regards
-- 

Scott Swabey
Design & Development Director - Lafinboy Productions
www.lafinboy.com | www.thought-after.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to