Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add Listener to offsetHeight

Status
Not open for further replies.

retrodans

Programmer
Dec 13, 2005
15
GB
I have a DIV, and I whenever the user alters the copy size, the div changes height, now whenever the DIV does this, I would like a function to run which will grab the offsetHeight of the DIV and run it through a few if statements.

I am not used to event Listeners, so any advice on the possibility of this and how to go about it would be much appreciated.

Cheers
Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top