JavascriptToolbox.com Now Available!

Almost all of my javascript code has been moved over to its new home at The Javascript Toolbox. Please go there to find the latest scripts, information, etc. These pages will remain here for a while for historical purposes in case anyone needs a production copy of old code.
Anchor Position
[Toolbox]  [Example]  [Source]
Description:
This library has one (not-so-simple) purpose: to get the coordinates of an anchor tag (<A>) on the page.
This is used in other functions (PopupWindow and CalendarPopup, for example) to position a window or layer to a specific spot on the page.

See the Source for details on compatability and how to use it.

Example:
 
 
 
 
 
         Test Anchor




Show Page Position of Test Anchor and move the yellow box there
Show Window Position of Test Anchor