MoreMotion Face API

Class WinDims

Object
   |
   +--WinDims

class 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

WH

Object WH

WW

Object WW

XO

Object XO

YO

Object YO

Constructor Detail

WinDims

WinDims()

Method Detail

getCenterCoords

Object getCenterCoords(w,h)

MoreMotion Face API

Copyright 2002 - 2011, MOR YAZILIM
Documentation generated by JSDoc on Thu Mar 3 18:19:14 2011