[Javascript] Retrieving height

Iztok Polanic iztokp at amis.net
Sun Aug 4 07:27:05 CDT 2002


Hi!

I tried this and it works:

document.getElementById('idtag').clientHeight.


Lep pozdrav,

Iztok
----- Original Message -----
From: "Andrew Gibson" <andyg at ihug.co.nz>
To: <javascript at LaTech.edu>
Sent: Monday, August 05, 2002 10:09
Subject: Re: [Javascript] Retrieving height


> you can also try
>
>  document.getElementById(divName).offsetHeight
>
> but is read only I think
>
> >
> > document.all.divName.style.height
> >
> > But I believe you have to set the value first; I've never had any
success
> > retrieving it before I set it.
> >
> > |-----Original Message-----
> > |Help!
> > |I'm trying to retrieve height of an <div> tag. Is this possible?
> > |
> > |Bye,
> > |
> > |Iztok
> > |
> > |_______________________________________________
> > |Javascript mailing list
> > |Javascript at LaTech.edu
> > |https://lists.LaTech.edu/mailman/listinfo/javascript
> > |
> >
> > _______________________________________________
> > Javascript mailing list
> > Javascript at LaTech.edu
> > https://lists.LaTech.edu/mailman/listinfo/javascript
> >
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>




More information about the Javascript mailing list