This is a javascript-only example of the error on IE 6.
<body>
<div id="outerdiv"></div>
<script>
var nan = Number(undefined);
document.getElementById ('outerdiv').style.height = nan; </script>
</body>
Number(x) is used in the animators, and the NaN is coming from
Number(undefined) because the app tries to animate a property that hasn't
been set. If the property being animated is height or width, you get an
'Invalid Argument' error on IE.
Phil
>Hi Tucker,
>
>I found some more issues but I haven't written a fix yet; only the hacks to
>get it running further.
>
>NaN processing is different on IE6 and FF. This example runs on FF (and
>sets height to NaN, but generates a Javascript error on IE6):
>
><canvas>
> <text id="tempview" width="100" />
>
> <method reference="canvas" event="oninit">
> var value = 0/0;
> tempview.setAttribute ('height', value);
> tempview.setText ("height = " + tempview.height);
> </method>
></canvas>
>
>
>This condition is occurring in animators. This happens in
>basefocusview.lzx, and perhaps other places I have not tracked down yet.
>
>Phil
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev