Yes, this is because you are running the exhibit locally.
The js data file has to be on the same machine as the html file to avoid
XSS restrictions.
Also, for future, you should always be using the new simile-widgets.org
site, instead of the old simile.mit.edu
On 11/2/2010 8:51 AM, jops wrote:
Since the example runs well online I have replaced the link to the
noblelist.js:
Replaced<link href="nobelists.js" type="application/json"
rel="exhibit/data" /> by
<link href="http://simile.mit.edu/exhibit/examples/nobelists/
nobelists.js" type="application/json" rel="exhibit/data" />
But the problem persists... SintaxError: unexpected token )
Is this because I am running the example locally (Windows XP,
Chrome) ??
I don't know if anyone is willing to come down and help me with this
bacis error...
Thanks in advance.
On 29 Out, 11:00, jops<[email protected]> wrote:
Dear Group,
first, congratulations for your great work and for making it
availiable to
the other Humans...
then trhe question:
I am trying to get sarted with an ehibit:
I downloaded "Your First Exhibit" and then the "nobelists.js".
After renaning them, I am trying to run the "nobelists.html" locally
but the
javascript gives an error:
The JSON data file:
file:///...nobelists.js
contains errors =
SintaxError: unexpected token )
and... stops there.
Any help for this most basic start ?
Thank you,
Paulo
--
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.