• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. Using Core HTML Methods and Events > The componentFromPoint Method

The componentFromPoint Method

The componentFromPoint method returns the component of an object located at specified coordinates. This method, available as of Internet Explorer 5.0, can be used with any object that can be given scrollbars through Cascading Style Sheets (CSS), and it’s used to determine where in an object a point is. You can see the support for this method in Table 6.14.

Table 6.14. The componentFromPoint Method
Method NS2 NS3 NS4 NS6 IE3a IE3b IE4 IE5 IE5.5 IE6
componentFromPoint(x, y)        x x x
  Returns: String



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint