Skip to content

Commit 46d1d54

Browse files
committed
Add comment about flex layout in index.htm
1 parent f8c7608 commit 46d1d54

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

index.htm

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,17 @@
2323
json - name of JSON file(s) with ROOT object, stored by TBufferJSON::ConvertToJSON method
2424
item - object name(s) in the file to display
2525
opt - draw option(s) for the item(s)
26-
layout - can be 'simple', 'collapsible', 'tabs' or gridNxM where N and M are integer values
26+
layout - can be 'simple', 'flex', 'collapsible', 'tabs' or gridNxM where N and M are integer values
2727
nobrowser - only file item(s) will be displayed, browser will be disabled
2828
load - name of JavaScript(s), automatically loaded at the beginning
2929
mathjax - use MathJax for Latex output (automatically loaded for TMathText objects)
30+
paltte - id of default color palette, 51..121 - new ROOT6 palette (default 57)
3031
3132
Example:
3233
https://root.cern.ch/js/latest/?file=../files/hsimple.root&layout=grid2x2&item=[hpx;1,hpxpy;1]&opts=[,colz]
3334
3435
Page can be used to open files from other web servers like:
35-
https://root.cern.ch/js/latest/?file=https://web-docs.gsi.de/~linev/js/files/hsimple.root
36+
https://root.cern.ch/js/latest/?file=https://jsroot.gsi.de/files/hsimple.root
3637
3738
But one should be aware about Cross-Origin Request blocking.
3839
Read https://developer.mozilla.org/en/http_access_control for more details.
@@ -42,6 +43,6 @@
4243
<script type="text/javascript" src="https://root.cern.ch/js/latest/scripts/JSRootCore.min.js?gui"></script>
4344
4445
If necessary, complete JSROOT can be installed on the web server.
45-
All sources can be found in $ROOTSYS/etc/http/ directory.
46+
Project repository: https://github.com/linev/jsroot.
4647
4748
-->

0 commit comments

Comments
 (0)