JS ROOT problem

Hello,

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
Barth

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.

Hi,

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 ?

Cheers,
Barth

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

Cheers, Bertrand.