Web server iis - 145Chapter 15 .Generic HTML Element Objects multiframe environment)
145Chapter 15 .Generic HTML Element Objects multiframe environment) vertically, the scrollTopproperty of the bodyobject is whatever the pixel distance is between the top of the object (now out of view) and the first visible row of pixels of the element. But the scrollTopvalue of a table that is in the document remains at zero. These properties are available only to the BODY, BUTTON, CAPTION, DIV, FIELDSET, LEGEND, MARQUEE, SPAN, and TEXTAREA objects in IE4. For IE5+, the properties are available to virtually every element. NN treats scrolling of a BODY element from the point of view of the window. If you want to find out the scrolled offset of the current page in NN4+, use window. scrollX and window.scrollY. Example on the CD-ROM Related Items: clientLeft, clientTop properties; window.scroll() method. sourceIndex Value: Integer Read-Only NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility The sourceIndex property returns the numeric index (zero-based) of the object within the document.allcollection. This property is useful if a script needs to access an adjacent object on a page. For example, the following function receives an object reference as a parameter and returns a reference to the object that is next in the source code object order: function getNextObject(obj) { return document.all[(obj.sourceIndex + 1)] } Or if you know only the ID of an object and want to retrieve a reference to the next object in source code order, you can use the following version: function getNextObject(objName) { var index = document.all[objName].sourceIndex return document.all[(index + 1)] } Example on the CD-ROM Related Item: item() method. On the CD-ROM On the CD-ROM elementObject.sourceIndex
If you are looking for affordable and reliable webhost to host and run your business application visit our ftp web hosting services.