SitePoint Sponsor |
|
User Tag List
Results 1 to 1 of 1
Thread: Add Listener to offsetHeight
Threaded View
-
Aug 17, 2007, 08:04 #1
- Join Date
- Jul 2006
- Posts
- 3
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Add Listener to offsetHeight
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
Bookmarks