Business web site - 160 Part III .Document Objects Reference Related Item:
160 Part III .Document Objects Reference Related Item: onClick event handler. cloneNode(deepBoolean) Returns: Node object reference. NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility The cloneNode() method makes an exact copy of the current node object. This copy does not have a parent node or other relationship with any element once the copy exists (of course, the original node remains in place). The clone also does not become part of the document s object model unless you explicitly insert or append the node somewhere on the page. The copy includes all element attributes, including the IDattribute. Because the value returned by the cloneNode()method is a genuine Node object, you can operate on it with any Nodeobject methods while it is still in the non-document object state. The Boolean parameter of the cloneNode() method controls whether the copy of the node includes all child nodes (true) or just the node itself (false). For example, if you clone a paragraph element by itself, the clone consists only of the raw element (equivalent of the tag pair, including attributes in the start tag) and none of its content. But including child nodes makes sure that all content within that paragraph element is part of the copy. This parameter is optional in IE5 (defaulting to false), but it is required in NN6 and the W3C DOM. Example on the CD-ROM Related Items: Node object (Chapter 14); appendChild(), removeChild(), removeNode(), replaceChild(), and replaceNode() methods. componentFromPoint(x,y) Returns: String. NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility The componentFromPoint() method assists in some event-related tasks. You can use it for a kind of collision detection (in other words, to determine whether an event occurs inside or outside of a particular element). If the element has scroll- bars, the method can provide additional information about the event such as precisely which component of the scrollbar the user activates. The method is not implemented in IE5/Mac. On the CD-ROM elementObject.componentFromPoint()
If you are looking for cheap and quality webhost to host and run your website check Jboss Web Hosting services.