Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[[Javascript]] width and height of an element
- From: leehinde at gmail.com (Lee Hinde)
- Subject: [[Javascript]] width and height of an element
- Date: Sun Sep 24 11:33:24 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. > > Bernard > _______________________________________________ Google is your friend. I found this: http://www.aspandjavascript.co.uk/javascript/javascript_api/get_element_width_height.asp (o, google est vous ami? :-) ) -- Mark Twain: "What gets us into trouble is not what we don't know. It's what we know for sure that just ain't so."
- Follow-Ups:
- [[Javascript]] width and height of an element
- From: Bernu Bernard
- [[Javascript]] width and height of an element
- 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
- Previous by thread: [[Javascript]] width and height of an element
- Next by thread: [[Javascript]] width and height of an element
- Index(es):