Hey thanks for posting your example! Led me to solve a problem I'd been 
having. ---Those lines work, with regards to loading the .js.

Exactly what kind of problem are you seeing?

/Kristian


On Thursday, 27 September 2012 01:08:13 UTC+2, jroehl wrote:
>
> Has anybody been able to load the timeline API via javascript?
>
> I tried the following, but it appears to not work.
>
> And I think it is because it is too large and takes time to load.
>
> Or is this a cross domain issue, as I am loading it from 
> simile-widgets.org?
>
> How can I figure out what issue I am having?
>
> var script_tag2 = document.createElement('script');
> script_tag2.setAttribute("type", "text/javascript");
> script_tag2.setAttribute("src", "
> http://api.simile-widgets.org/timeline/2.3.1/timeline-api.js?bundle=true
> ");
> document.getElementsByTagName('head')[0].appendChild(script_tag2);
>  
> Thanks 
> Jeff Roehl
> [email protected] <javascript:>
> (818) 912-7530
>

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/simile-widgets/-/XFj484Dl8P8J.
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