The default behavior of Google Chrome is to disallow file:/// url ajax 
requests. 
Search for "same origin policy for file uris" for more info.

To avoid the need for any local server, and strictly view a timeline through 
file:///, you'll need to put your data "inline" or in a locally accessible .js 
file.

The test_example3.html file, with the local JSON, works fine for me (Chrome 
17.0.963.83/Mac), so you should look carefully at your configuration and see if 
there is anything amiss.

--Mike

On Mar 23, 2012, at 7:42 PM, Christopher Smith wrote:

> I'm having the same issue. It would be nice if someone would post a reply to 
> this issue.
> 
> On Wednesday, October 26, 2011 4:47:40 AM UTC-4, Shuyin wrote:
> So I'm trying to run the timeline completely local. 
> 
> So far I got every file running local, but the only problem is is that 
> it errors on loading the actuall XML files (i'm using 5 different xml 
> files to populate 5 different timelines like the religions.html 
> example.) 
> 
> Is there a way to set the data local too, so that I wont need any 
> local server like MAMP, XAMP or whatnot. 
> 
> I've read the loading JSON inline example: 
> http://code.google.com/p/​simile-widgets/source/browse/​timeline/trunk/src/webapp/​examples/test_example3/test_​example3.html
>  
> 
> But somehow this wont work either it keeps giving me this error: 
> 
> Unsafe JavaScript attempt to access frame with URL chrome://chromewebdata/ 
> from frame with URL file://localhost/Sites/​timeline/index.html. 
> Domains, protocols and ports must match. 
> 
> Can somebody please help me?

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
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