horizontal_tab_control

NAML documentation   Watch a video
   Usages of this macro
... in ui_components.naml
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<macro name="horizontal_tab_control" dot_parameter="horizontal_tabs" parameters="is_live">
    <n.put_in_head
Binary
Namespace: HtmlNamespace
Parameters: in_head
.>
        <script src="[n.tabs_library_path
Binary
Namespace: NabbleNamespace
/]" type="text/javascript"></script>
        <style type="text/css">
            div.tab-contents {
                margin-top:1.5em;
            }
        </style>
    </n.put_in_head.>
    <script type="text/javascript">
        NabbleTabs.startTabControl(<n.hide_null
Binary
Namespace: BasicNamespace
Parameters: value
.is_live/>);
        <n.horizontal_tab
Macro
Parameters: do
.><n.horizontal_tabs/></n.horizontal_tab.>
        NabbleTabs.endTabControl();
    </script>
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.is_null
Binary
Namespace: BasicNamespace
Parameters: value
.is_live>
        <then>
            <div class="tab-contents">
                <n.horizontal_tabs/>
            </div>
        </then>
    </n.if.is_null.is_live>
</macro>