MoreMotion Face API

Class WindowManager

Object
   |
   +--WindowManager

class WindowManager


This class provides utility methods related to the current browser window. A static object of this class is avaialable with name WinMgr.

var WinMgr = new WindowManager();

Defined in Common.js


Field Summary
 Object currentWinId
          
 Boolean isAWK
          true means the current browser is an AppleWebKit browser
 Boolean isFF3
          true means the current browser is Firefox version 3
 Boolean isGecko
          true means the current browser is Gecko
 Boolean isIE
          true means the current browser is Internet Explorer
 Boolean isIEA6
          true means the current browser is Internet Explorer after version 6
 Boolean isOpera
          true means the current browser is Opera
 
Constructor Summary
WindowManager()
           
 
Method Summary
 void close(pageName)
           Saves the windows position and dimensions to the cookie and closes the current browser window.
 void display(pageName,params,doc,omitRand)
           Sets the location.href of the specified document to display the given MoreMotion page.
 void Display(pageName,params,doc)
           Sets the location.href of the specified document to display the given MoreMotion page.
 Object expireCookie(name, domain, path)
           Expires the specified cookie
 String getCookie(name)
           Returns the value of the specified cookie
 Object getDims()
          
 String getRequestParam(parmName, defValue)
           Returns the value of the specified request parameter.
 window Object openWindow( props )
           Opens a new Popup window with the specified parameters.
 Object rand()
           Returns a _rand= definition with a timestampt
 void Refresh(params,doc)
           Refreshes the current page with the given parameters.
 Object setCookie(name, value, minutes, domain, path, secure)
           Sets a cookie.

Field Detail

currentWinId

Object currentWinId

isAWK

Boolean isAWK

isFF3

Boolean isFF3

isGecko

Boolean isGecko

isIE

Boolean isIE

isIEA6

Boolean isIEA6

isOpera

Boolean isOpera

Constructor Detail

WindowManager

WindowManager()

Method Detail

close

void close(pageName)

display

void display(pageName,params,doc,omitRand)

Display

void Display(pageName,params,doc)

expireCookie

Object expireCookie(name, domain, path)

getCookie

String getCookie(name)

getDims

Object getDims()

getRequestParam

String getRequestParam(parmName, defValue)

openWindow

window Object openWindow( props )

rand

Object rand()

Refresh

void Refresh(params,doc)

setCookie

Object setCookie(name, value, minutes, domain, path, secure)

MoreMotion Face API

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