File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ How-to hide the catalog tab
2+ ============================
3+
4+ Sometimes administrators of a site may want the catalog tab to be minimized by
5+ default. This can be useful for both small screens and for embedding your
6+ map in other websites. This can easily be done by making a simple edit to the
7+ ``index.html `` file.
8+
9+ Change index.html
10+ ------------------------------------------
11+
12+ In ``index.html ``, find the body tag and add a tabs-closed class to it.
13+
14+ Default site configuration with the catalog tab open by default:
15+
16+ .. code :: html
17+
18+ <body >
19+ <div id =" main" >
20+ <div id =" header" >
21+ <img height =" 50" src =" logo.png" >
22+ <div id =" toolbar" ></div >
23+ </div >
24+ ...
25+
26+ Site configuration with the catalog tab minimized. Note that there is a
27+ space before tabs-closed (without the space the catalog tab is minimized
28+ by default, but you can't unminimize it):
29+
30+ .. code :: html
31+
32+ <body class =" tabs-closed" >
33+ <div id =" main" >
34+ <div id =" header" >
35+ <img height =" 50" src =" logo.png" >
36+ <div id =" toolbar" ></div >
37+ </div >
38+ ...
39+
40+
You can’t perform that action at this time.
0 commit comments