Hi Zv,

When you say an AJAX request, do you mean

1) That data comprising the JSON is being generated dynamically by the 
server, or
2) That you want to delay loading the data into Exhibit until some 
particular time that you control, after page load?

If (1), there should be no difference from loading a static resource -- 
they both look the same from the client's side. If you are loading JSON 
from a different domain than the one where the Exhibit resides, you'll want 
to use JSONP instead of JSON to sneak around the browser security model.

If (2), you'll need to issue a few lines of Javacript to ask Exhibit to 
manually load and inject the data after it has already configured itself.

Ted

On Monday, May 27, 2013 10:17:52 AM UTC-4, Zv Hristov wrote:
>
> Hi All, 
> First let me congratulate with Simile for the Timeline widget, think it's 
> great!
> I have a site where I'm implementing Simile Exhibit, but I need to use a 
> json service as data source. 
> I want to load not static data file, but JSON data through AJAX request 
> using Map,Timeline and Tabular extensions. Please advise me how to do it?
> I use Exhibit version 2.3.
> Thanks in advance!
>

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


Reply via email to