[Javascript] Monitor an offsetHeight value

Guillaume javascript at webdesignofficina.com
Thu Jan 11 11:41:35 CST 2007


Stephan,

You are right that's exactly what I'm trying to do with my script except 
that this one doesn't work...
> On 1/11/07, Guillaume <javascript at webdesignofficina.com> wrote:
>> Hi all,
>>
>> I'm trying to build a function that would monitor an offsetHeight value,
>> to test if this value is changing from it's initial value to something
>> smaller or bigger when a user plays with the page: either resize the
>> browser window or the text size.
>
> If those are the only cases, you can set up listeners for those two kinds
> of events and have the action test for changes to the offsetHeight value.
>
> Or am I missing something?
>
>
>> I have already come across scripts that would monitor if the font size
>> has changed.
>
> And the window resize detection comes directly from the browser.
>
> Stephan
>
>




More information about the Javascript mailing list