View Full Version : Changing background image in Table Cell

04-14-2006, 03:02 AM
I need to change the background image of a table cell each time a page loads.
I only see scripts to change the background image of a page and usually that requires an event like a mouseover or click.

Can anyone please help me out?
Thanks in advance:cool:

04-14-2006, 03:04 AM
Find a script like that, then just apply it to the cell... I mean... I'm not sure how they work, but it really can't be that hard.
All you're doing is making it like this:
Instead of the <body background="IMAGEHERE"> rotate, you need <table><tr><td background"IMAGEHERE"> to rotate... same "background=" code, and format of the url. So.... that might point you in the right direction..

Oh, also... to make JS start when the page loads, just do this:

04-14-2006, 11:44 AM
Yeah that's what I was think djr33, I just need some specifics. Any body have some examples?