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

Chapter 12. Learning About Your Environm... > Finding an Object's Top and Left Pos...

Finding an Object's Top and Left Positions

One major use of DHTML is to make objects move around on the page (see "Moving Objects from Point to Point" in Chapter 13). Often, though, to make something move, you need to know where it is currently located (Figure 12.18).

Figure 12.18. An alert appears to tell you the top and left positions of the object.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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