Mensaje
De
04/12/2006 17:13:50
 
 
a
04/12/2006 17:08:24
General information
Foro:
Internet
Category:
Javascript
Miscellaneous
ID de la conversación:
01174767
ID del mensaje:
01174778
Views:
14
>You may try using the TRY / CATCH.
>
>
>var oH = 0;
>try {
>     if (LevelExteremaListHeight)
>     {
>         oH = LevelExteremaListHeight
>     }
>CATCH {
>     oH = <somedefault value or don't change>
>}
>
>
>I thought there was a function similar to VARTYPE, but I may be thinking of VBscript.
>
>I use too many languages.

Thanks

I had to adjust to:
     if (window.LevelExtremeListHeight)
     {
         oH = window.LevelExtremeListHeight
     }
to make it work.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Responder
Mapa
Ver