Element.getDimensions

Official docs: Element.getDimensions

Although Prototype's getDimensions works great on elements that are, themselves, hidden, it doesn't work on elements inside hidden containers. Check out this tip for a version that handles both situations.

page_revision: 0, last_edited: 1223890591|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License