The expression is certainly useless but it solves a Mac bug. Accessing th offsetHeight property forces IE Mac to calculate the content size and return the correct value. If you want to stop NS 6 complaining change it to variableTonta = this.elm.offsetHeight. The effect will be the same and the statement itself won't be considered useless by NS6's parser
Carlos Revillo wrote: > hi. i downloaded ns 6.2 few days ago... i'm working with dynapi 2.56.. > and a strange thing is happening... > > the javascript console shows me a warning when i load a page... this is > the warning... > Warning: useless expresion > file (...) /dynapi/api/dynlayer.js line 369 > the warning also happen in line 386. both have the same code > > http://161.58.169.118/gn/valentin/esp/index.php?i=74074&c=5; > > any ideas? > > > _______________________________________________ > Dynapi-Help mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/dynapi-help > _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help