Class Index | File Index

Classes


Class YWindow


Defined in: YWindow.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
window toolsNot instanciable.
Method Summary
Method Attributes Method Name and Description
<static>  
YWindow.getbrowser()
gets general browser name .
<static>  
YWindow.getsize()
gets current window size.
<static>  
YWindow.post(datas{object}, target, msg)
post datas as in a submitted html form.
Class Detail
YWindow()
window toolsNot instanciable.
Method Detail
<static> {string} YWindow.getbrowser()
gets general browser name .
Returns:
{string} can be "opera" "msie" "safari" "firefox" "chrome" "mozilla" or "" if not identifyed.

<static> {array} YWindow.getsize()
gets current window size.
Returns:
{array} the window size.

<static> {array} YWindow.post(datas{object}, target, msg)
post datas as in a submitted html form.
Parameters:
datas{object}
indexed datas to post(ex: datas={va:"hi",vb:"bye"}; correspond to $_POST=array('va'=>"hi",'vb'=>"bye");).
target
{string} target for form submit ('_self','_blank',etc...)
msg Optional
{string}if set , ask for confirmation with this message before postiong the datas
Returns:
{array} the window size.

Documentation generated by JsDoc Toolkit 2.4.0 on Sat Nov 16 2013 03:47:43 GMT+0100 (CET)