you can test against null.
for example:
/**
* Will return the width of the given frame.
*
*
*/
UI.prototype.ui_getWindowWidth = function
(
frame, // The frame of interest
doc // The document in the frame
)
{
var windowWidth = frame.innerWidth;
if (windowWidth == null) {
windowWidth = doc.body.clientWidth;
}
return windowWidth;
}
---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/