Arjunsos / simile-widgets

Automatically exported from code.google.com/p/simile-widgets
0 stars 0 forks source link

EXHIBIT: In Safari: Can't find .js file in local filesystem #93

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Forgive me if there is something completely obvious that I'm overlooking,
but...

I'm using Safari. When I load an Exhibit HTML page that's sitting on my
computer, it can't seem to find the JSON file, even though it's sitting in
the same folder as the HTML file.

For example:
- I create the HTML Template found on
http://simile.mit.edu/wiki/Exhibit/Template/HTML_Page, and save it as
test.html.
- I create the JSON Template found on
http://simile.mit.edu/wiki/Exhibit/Template/JSON_Data_File, and save it as
my-data.js, in the same folder.
- I load test.html into Safari.
- The following Javascript error message appears:

We cannot locate the data file
     [path snipped]/my-data.js
   Check that the file name is correct.

- - - - -

By comparison, the above sequence works perfectly in Firefox.
It also works perfectly when I upload the two files to a Web server and
load the remote version of test.html into Safari.

But loading the local version of test.html into Safari doesn't work.

Any thoughts? I'm not a big fan of Firefox, so I would love to be able to
develop my Exhibit in Safari on my local machine...

Andrew Chaikin
andrew@biggerbread.com

Original issue reported on code.google.com by GabrielR...@googlemail.com on 3 Apr 2009 at 4:30

GoogleCodeExporter commented 8 years ago

Original comment by stefano.mazzocchi@gmail.com on 3 Apr 2009 at 8:12