[Simile-Widgets] Re: Dynamic Exhibit Loading Sample is not working

2011-10-27 Thread kasaba
In that sample exhibit loading is in tag head, but in my application a have no control to head. Is there way to load exhibit in body for example or it's just mirage? On 26 Окт, 18:20, David Karger kar...@mit.edu wrote: The trunk version of exhibit (http://trunk.simile-widgets.org/) has

[Simile-Widgets] Re:[RESOLVED] Exhibit - english and french - forceLocale attribute doesn't work

2011-10-27 Thread Brice Sommacal
Hello, In fact, the forceLocale attribute doesn't set anything. (isn't it?) By adding script type=text/javascript onerror= src= http://api.simile-widgets.org/exhibit/2.2.0/locales/en/locale.js;/script right below script src=

[Simile-Widgets] update highlight dynamically

2011-10-27 Thread Alvin
Hello, I am wondering if there is a way to update the highlighted parts of the timeline dynamically (i.e., update the decorators)? I got it to work by re-creating the entire timeline but that unfortunately will also recenter the timeline. Thanks. -- You received this message because you are

Re: [Simile-Widgets] Compact Painter

2011-10-27 Thread Jean-Pierre Zuate, La Fage Conseil
Hello Ajeet, There is a json file ( http://www.simile-widgets.org/timeline/examples/compact-painter/data.json, see *tl.loadJSON*) containing an attribute named icon. It seem's to be the path to images ... Hope this Help. Regards, -- Jean-Pierre Zuate La Fage Conseil 01 47 96 30 69

Re: [Simile-Widgets] update highlight dynamically

2011-10-27 Thread Michael Nosal
Yes, this is possible, and quite easy to do. You do need to add a method to set the times for your decorator and call .paint() on the decorator: Timeline.SpanHighlightDecorator.prototype.setEndDate = function(date) { this._endDate = date; };

Re: [Simile-Widgets] update highlight dynamically

2011-10-27 Thread Alvin Cheung
I see. Thanks. Then is it possible to dynamically add decorators? Alvin On 10/27/2011 12:16 PM, Michael Nosal wrote: Yes, this is possible, and quite easy to do. You do need to add a method to set the times for your decorator and call .paint() on the decorator:

Re: [Simile-Widgets] update highlight dynamically

2011-10-27 Thread Michael Nosal
Add this function: Timeline._Band.prototype.addDecorator = function(decorator) { this._decorators.push(decorator); decorator.initialize(this,this._timeline); decorator.paint(); } then you can do: var band = tl.getBand(0); band.addDecorator(new

[Simile-Widgets] is trunk.simile-widgets down?

2011-10-27 Thread martin
I am using: http://trunk.simile-widgets.org/exhibit/api/exhibit-api.js in my page which has been working great, however I noticed today (oct 27,2011) no items will display in the map in firefox and in IE I get a dialog box with: Caught exception: undefined Details: 'undefined' is null or not an

Re: [Simile-Widgets] Compact Painter

2011-10-27 Thread Ajeet Gupta
Hello Jean, So nice of you. It is indeed helpful. Also, can you please tell me in which branch of Simile, I can get complete working code. I downloaded *timeline_source_v2.3.0* but, I could not get the files over there. Thanks again for the help. Regards, Ajeet On Thu, Oct 27, 2011 at 11:27

Re: [Simile-Widgets] is trunk.simile-widgets down?

2011-10-27 Thread David Karger
I recently pushed an update to trunk and may have broken something. Please send me a link to your exhibit and I will debug. On 10/27/2011 3:00 PM, martin wrote: I am using: http://trunk.simile-widgets.org/exhibit/api/exhibit-api.js in my page which has been working great, however I noticed

Re: [Simile-Widgets] is trunk.simile-widgets down?

2011-10-27 Thread David Karger
i think i fixed it (an errant comma than only ie complains about). apologies. On 10/27/2011 3:00 PM, martin wrote: I am using: http://trunk.simile-widgets.org/exhibit/api/exhibit-api.js in my page which has been working great, however I noticed today (oct 27,2011) no items will display in the