|
MoreMotion Face API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--WinDims
This class provides the dimensions of the current browser window and the scroll offsets of the current page
Defined in Common.js
| Field Summary | |
Object |
WH
The height of the Window client area |
Object |
WW
The width of the Window client area |
Object |
XO
The X scroll offset of the current page in the window |
Object |
YO
The Y scroll offset of the current page in the window |
| Constructor Summary | |
WinDims()
|
|
| Method Summary | |
Object
|
getCenterCoords(w,h)
Calculates and returns the top and left positions of an area (a div or a window) that's to be centered in the visible part of the current page. |
| Field Detail |
Object WH
Object WW
Object XO
Object YO
| Constructor Detail |
WinDims()
| Method Detail |
Object getCenterCoords(w,h)
w - The width of the area to center
h - The height of the area to center
top and left.
|
MoreMotion Face API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||