Menu
I’m trying to find out what a div’s height is. The div will be repeated and the height will vary, the problem is that I cant just use
document.getElementbyId(blah).style.height
because I’ve purposely cut off the bottom part of the div to be revealed via a separate javascript function. I want the javascript function to slide open the box revealing the rest of the text in the box, but I need to know how far to open it, or basically tell the function when to stop making the box bigger.
Basically, is there a way with the HTML DOM to extract a number for what a
auto height would be for a DIV?
any help would be much abliged.