]> git.stg.codes - stg.git/blob - doc/xslt/params/toc.hide.show.xml
Merge remote-tracking branch 'origin/ticket42' into stg-2.409
[stg.git] / doc / xslt / params / toc.hide.show.xml
1 <refentry xmlns="http://docbook.org/ns/docbook"
2           xmlns:xlink="http://www.w3.org/1999/xlink"
3           xmlns:xi="http://www.w3.org/2001/XInclude"
4           xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
5           xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
6           version="5.0" xml:id="toc.hide.show">
7 <refmeta>
8 <refentrytitle>toc.hide.show</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
10 </refmeta>
11 <refnamediv>
12 <refname>toc.hide.show</refname>
13 <refpurpose>Enable hide/show button for ToC frame</refpurpose>
14 </refnamediv>
15
16 <refsynopsisdiv>
17 <src:fragment xml:id="toc.hide.show.frag">
18 <xsl:param name="toc.hide.show" select="0"/>
19 </src:fragment>
20 </refsynopsisdiv>
21
22 <refsection><info><title>Description</title></info>
23
24 <para>If non-zero, JavaScript (and an additional icon, see
25 <link linkend="hidetoc.image">hidetoc.image</link> and
26 <link linkend="hidetoc.image">showtoc.image</link>) is added to each slide
27 to allow the ToC panel to be <quote>toggled</quote> on each panel.</para>
28
29 <note><para>There is a bug in Mozilla 1.0 (at least as of CR3) that causes
30 the browser to reload the titlepage when this feature is used.</para></note>
31
32 </refsection>
33 </refentry>