* Function: ng_WindowHeight * Returns window height. * * Syntax: * int *ng_WindowHeight* () * * Returns: * Height of browser's window.
()
| 1245 | * Height of browser's window. |
| 1246 | */ |
| 1247 | function ng_WindowHeight() |
| 1248 | { |
| 1249 | var height=0; |
| 1250 | if(typeof(window.innerHeight)=='number'){height=window.innerHeight;} |
| 1251 | else if(document.documentElement&&document.documentElement.clientHeight){height=document.documentElement.clientHeight;} |
| 1252 | else if(document.body&&document.body.clientHeight){height=document.body.clientHeight;} |
| 1253 | if(!height) height=100; |
| 1254 | return height; |
| 1255 | } |
| 1256 | |
| 1257 | function ng_SetInnerHTML_Std(o, t, append) |
| 1258 | { |
no outgoing calls
no test coverage detected