This post originated from an RSS feed registered with Web Buzz
by Chris Eidhof.
Original Post: Getting the position
Feed Title: buzzdriver
Feed URL: http://www.my-website.nl/weblog/feed/
Feed Description: This is a technical weblog about web development, and mainly focussed on markup, css, javascript, semantic web, but also other things like linux, open source and general tech-related subjects.
Suppose you’re writing a rich client-side application. At some point you might want to know exactly where an element is rendered. There are two methods, getClientRect for Internet Explorer, and getBoxObjectFor for Mozilla.
A (IE/Mozilla only) wrapper for those two object can be found at AlphaFilter().
Tags: javascript, absolute, position