Arjunsos / simile-widgets

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

EXHIBIT: Storing Dates as years in BC and AD #92

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When I click on the timeline button on this test page:
http://dave.showviz.net/hist/buildings.html

I get this error in FF 2.0

Caught exception: Error adding action {select Timeline view} to history
Details: TypeError: this._dom.timeline has no properties

and this in ie6:

Caught exception: Error adding action {select Timeline view} to history
Details: TypeError: this._dom.timeline is null or not an object

but that is only after first getting an error in the schema.js file (FF
doesn't give a schema.js error)

I know it has something to do with the way I store the years in my json
data file. In the schema I define start-year and end-year as a type "date",
and when there is a date in BC, I store the date as "475 BC" or "123 BC". I
noticed that format was acceptable on the Jewish Religion timeline example
here:

http://simile.mit.edu/timeline/examples/religions/jewish.xml

but it seems to give an error in Exhibit.

Am I doing something else wrong that I didn't catch? Thanks for the help,

dave

Original issue reported on code.google.com by GabrielR...@googlemail.com on 3 Apr 2009 at 4:27

GoogleCodeExporter commented 8 years ago

Original comment by stefano.mazzocchi@gmail.com on 3 Apr 2009 at 8:10

GoogleCodeExporter commented 8 years ago
Non IE 8 and IE 9 browser do not support BC dates. The fix for this is 
documented at 
http://theholyscriptures.info/techblog/2011/03/23/simile-bug-resolved/

Original comment by jay.mack...@gmail.com on 24 Mar 2011 at 4:44