Web design - CD-515Appendix F . Examples from Parts III and
CD-515Appendix F . Examples from Parts III and IV the body by entering the following statement into the top text box for IE5+ and NN6+: document.getElementById( myTable ).align = right background NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility Example Treat the backgroundproperty of a table like you do the srcproperty of an IMG element object. If you precache an image, you can assign the src property of the precached image object to the background property of the table for quick image changing. Such an assignment statement looks like the following: document.all.myTable.background = imgArray[ myTableAlternate ].src bgColor NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility Example Use The Evaluator (Chapter 13) to assign a color to the table. After looking at the table to see its initial state, enter the following IE5+/NN6+ statement into the top text box: document.getElementById( myTable ).bgColor = lightgreen When you look at the table again, you see that only some of the cells turned to green. This is because colors also are assigned to table elements nested inside the outermost table element, and the color specification closest to the actual element wins the context. TABLE.bgColor
Searching for affordable and reliable webhost to host and run your web applications? Go to our java web server services and you will be pleased.