That code is fine, it's what's used in the examples.
Timeline can work perfectly fine with IE, it's just that IE tends to  
have really ambiguous error messages with Javascript, which makes it  
much harder to debug.
Since IE is complaining about an object, look at the only object in  
this code: tl

I'd guess that for some reason, your Timeline object tl isn't being  
created properly, or is not in global scope.

Comment out the onResize code and see what IE complains about next.

--Mike Nosal

On Oct 13, 2009, at 5:55 PM, contemplative wrote:

>
> I have the following which always breaks in version IE6 and IE7 (don't
> know about 8 tho)
> The error message is:
> " A runtime error has occurred.
> Do you wish to Debug? (I say yes here)
> Line: 87
> Error: Object doesn't support this property or method"
>
>
> var resizeTimerID = null;
>  function onResize() {
>      if (resizeTimerID == null) {
>          resizeTimerID = window.setTimeout(function() {
>              resizeTimerID = null;
>              if (tl != null) tl.layout();
>          }, 500);
>      }
>  }
>
>
> For the life of me!  This timeline is a fantastic tool!  But it does
> not play well with IE.
> The timeline works great in FF and Chrome on windows, and great in FF
> on Linux, but
> I have not been able to get past this.  Is there some trick to get IE
> to behave well with
> timeline?  I noticed that there was another post that pointed out some
> code that implies
> specific behaviors to IE regarding loading XML which I do not use...
>
> Any help would be appreciated!
>
> Thanks so much,
>
> wjw

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to