html/javascript code: can i have a fading/changing background color in a table cell?

Elen E

New member
i have an entire background that changes colors on its own, but i was wondering if i could put that code in a table cell and have like 4 of those color changing things going on at once??


the code for the changing color background is ....


<!-- this script got from www.javascriptfreecode.com-Coded by: Krishna Eydat -->



<script>



// Select fade-effect below:

// Set 1 if the background may fade from dark to medium

// Set 2 if the background may fade from light to medium

// Set 3 if the background may fade from very dark to very light light

// Set 4 if the background may fade from light to very light

// Set 5 if the background may fade from dark to very dark


[IT ALL TOOK UP TO MUCH SPACE, SO please check out the code if you need to at http://www.manycodes.com/tag/background/]
it all works there =)


..............
</script>



and i know that the commands such as ....
<TABLE CELLPADDING=8 CELLSPACING=0 TABLE BGCOLOR=red>
<TR> <TD BGCOLOR=blue>blah blah</TD> <TD>yeah yeah</TD> </TR>
<TR> <TD>supp you </TD> <TD>grrrrrrrr </TD> </TR>
</TABLE>

all work, but would i have to change anything from bg color in the body to like the <table bg color=...> in the table code???

plleeasssee help me, it would b sooo awesome, thanks....L



o yea.. and it just said i exceeded the limit, so the code is on http://www.manycodes.com/tag/background/
 
Back
Top