CD-393Appendix F . Examples from Parts III and (Web hosts)

CD-393Appendix F . Examples from Parts III and IV rightMargin See bottomMargin. scroll NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility Example To change the scrollbar appearance from the default, the statement is: document.body.scroll = no scrollLeft scrollTop NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility Example Listing 18-20 is the IE4+ version of the NN example for pageXOffset and pageYOffset properties (Listing 16-13). Everything about these two examples is the same except for the syntax that retrieves the values indicating how much the document is scrolled in a window. Listing 18-20: Viewing the scrollLeft and scrollTop Properties Master of all Windows