404 Part III . Document Objects Reference scroll (Java web server)

404 Part III . Document Objects Reference scroll Value: Constant String Read/Write Compatibility NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 . IE5 . IE5.5 . The IE-specific scroll property provides scripted access to the IE-specific SCROLL attribute of a BODY element. By default, an IE BODY element displays a vertical scrollbar even if the height of the content does not warrant it; a horizontal scrollbar appears only when the content is forced to be wider than the window or frame. You can make sure that both scrollbars are hidden by setting the SCROLL attribute to no or changing it via script. Possible values for this property are the constant strings yes and no. Other than frame attributes and NN4+ signed scripts, other browsers do not provide facilities for turning off scrollbars under script control. You can generate a new window (via the window.open() method) and specify that its scrollbars be hidden. On the Example on the CD CD-ROM Related Items: window.scrollbars property; window.open() method. scrollLeft scrollTop Value: Integer Read/Write NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility . Even though the scrollLeft and scrollTopproperties of the BODY object are the same as those for generic HTML element objects, they play an important roll in determining the position of positioned elements (described more fully in Chapter 31). Because the mouse event and element position properties tend to be relative to the visible content region of the browser window, you must take the scrolling values of the document.bodyobject into account when assigning an absolute position. Values for both of these properties are integers representing pixels. On the CD-ROM Example on the CD with Listing 18-20 Related Items: window.pageXOffset, window.pageYOffset properties. document.body.scrollLeft
If you are in need for cheap and reliable webhost to host your website, we recommend http web server services.

Leave a Reply