|ctcrmcou on Dec 13, 2006 at 6:01:35 PM|
That's why I set fonts in px - they won't change. pt will.
I would guess, basically you need to setInterval() and test for a font-size change of a certain element's text, like a hidden div. Onload you need to read the initial font-size, then you track when a change is made, and call a function that will take the actions you need.
I have not experimented with this, so I don't know if it's simple enough to retrieve a px or point size, or if you have to get real messy and track the container's height as the font size changes.
hacks, sure why not. Events? only the ones you make.
found this font resizing article