JS ROOT problem


I checked out the JavaScript ROOT library from root.cern.ch/svn/root/branches/d … t/JSRootIO

When I open index_simple.htm in a browser and select the first file to load, the expected tree doesn’t appear. It just says :
JSROOTIO.RootFile.js version: 1.6 2012/02/24
load: files/f.root

I work on SLC5 and I used Firefox.

Could you tell me if I do something wrong ?

Thank you

EDIT: To be noted that it works when using this : bellenot.web.cern.ch/bellenot/Public/JSRootIO/

Hi Barth,

Where did you put the files?
FYI, everything has to be on a web server (i.e. it doesn’t work locally)

Cheers, Bertrand.


Ok, I thought it would work locally. I will set up a web server on my machine and try again. Is it because of the AJAX calls that it has to be on a web server ?


Yes, it uses HTTP GET, so it needs a server. And you can also try on your cern web page…

Cheers, Bertrand.