MediaCenter.onScaleEvent Event
Raised whenever the HTML page is resized.
Note This event has been deprecated.
Syntax
onScaleEvent(
ScaleAmount
)
Parameters
ScaleAmount
Floating-point number that specifies the magnification scale, where 1.0 is normal.
Remarks
Calling history.go or window.location.reload does not make a call to onScaleEvent. This means that if a page is being refreshed, it may not be resized correctly. In this case it is better to save the scale, and then manually resize the page.
Requirements
Platform: HTML application hosted within Windows XP Media Center Edition 2004 through Windows Vista
See Also