clofresh / simile-widgets

Automatically exported from code.google.com/p/simile-widgets
0 stars 0 forks source link

TIMELINE. caught exception:[object Error] #274

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello there,

I got the error message in IE6 when i try to run timeline.

Full Description:

i have simple .html file which includes timeline
javascript(Note:bundle.js,timeline.js,timeline-api.js,labeller.js and
budle.css are taken from sample example from net and i have set them in my
.html file)

Also .html file has all required things to run timeline.

My timeline load perfectly in IE6 but at the end of loading, i get the
alert message telling the error="caught exception:[object Error]"

After digging bundle.js file i come to know that problem point is --
listener[handlerName].apply(listener,args); -- statement,
 in --
Timeline.DefaultEventSource.prototype._fire=function(handlerName,args) --
function call.

Can any one tell me what is reason of firing exception in these function?

What should i do to solve such problem?

Please can any one gives me details regarding such exception so i can learn
from that :)

Best,
thevoice

Fedora 9.0 + IE6 

[Submitted by  on simile.mit.edu] 

Original issue reported on code.google.com by GabrielR...@googlemail.com on 14 Apr 2009 at 12:11

GoogleCodeExporter commented 8 years ago
I had same problem and exception in
Timeline.DefaultEventSource.prototype._fire=function(handlerName,args) --
function call with IE6. Firefox 3.5.1 works fine.

After trial and error it seems to be an IE6 issue with the JSON data format. 
Here my
solution:
- use '#FF0000' instead of 'red' for color-values (JSON and XML)
- use 
http://code.google.com/p/simile-widgets/wiki/Timeline_EventSourceJSON_jsDate
(without the 'dateTimeFormat': 'iso8601' declaration) instead of RFC 2822 
format (JSON)

Original comment by claas.ru...@googlemail.com on 7 Oct 2009 at 11:24