Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[[Javascript]] width and height of an element
- From: mwarden at gmail.com (Matt Warden)
- Subject: [[Javascript]] width and height of an element
- Date: Sun Sep 24 11:47:03 2006
On 9/24/06, Bernu Bernard <bernu@xxxxxxxxxxxxxxxx> wrote: > Hi list, > > How can I find the width and size of an element ? > > Say for example I have : > > <div id="test" onclick="getsizes()">hello</div> > > When I click on "hello" I'd like to get the width and height of this > element. http://developer.yahoo.com/yui/docs/dom/YAHOO.util.Dom.html#getRegion http://developer.yahoo.com/yui/docs/dom/YAHOO.util.Region.html#bottom -- Matt Warden Cleveland, OH, USA http://mattwarden.com This email proudly and graciously contributes to entropy.
- Follow-Ups:
- [[Javascript]] width and height of an element [solved]
- From: Bernu Bernard
- [[Javascript]] width and height of an element [solved]
- References:
- [[Javascript]] width and height of an element
- From: Bernu Bernard
- [[Javascript]] width and height of an element
- Prev by Date: [[Javascript]] width and height of an element
- Next by Date: [[Javascript]] width and height of an element [solved]
- Previous by thread: [[Javascript]] width and height of an element
- Next by thread: [[Javascript]] width and height of an element [solved]
- Index(es):