List Info

Thread: getModuleWidth and Height return NaN




getModuleWidth and Height return NaN
user name
2006-04-24 19:28:45
I'm seeing this too. No matter what I do, getModuleWidth()
returns a
NaN. (I tried on Mac/Win using 3 separate browsers.)

Also, I've found the documemtation on this and
getModuleHeight() to be
unclear. The docs list these two calls in a table labelled
"...JavaScript methods that aren't specifically
related to user
preferences:", but they seem to operate only on a user
preferences
object as in:

var prefs = new _IG_Prefs(__MODULE_ID__);
var moduleWidth = prefs.getModuleWidth();

... which is the same way one would call the other functions
to access
various user preferences.

Growing pains, I guess.

Anyone else?

- DW


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Google Homepage API" group.
To post to this group, send email to Google-Homepage-APIgooglegroups.com
To unsubscribe from this group, send email to
Google-Homepage-API-unsubscribegooglegroups.com
For more options, visit this group at ht
tp://groups.google.com/group/Google-Homepage-API
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )