source: trunk/doc-new/guide/resources/tabs.xsl @ 48743

Last change on this file since 48743 was 48743, checked in by raimue@…, 11 years ago

guide:
Provide a small tab in the upper right corner to switch between the single page
and the chunked version of the guide. Build both versions by default.

File size: 634 bytes
Line 
1<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
2
3  <xsl:template name="user.header.content">
4      <div id="tabswitch">
5          <a href="/index.html">
6              <xsl:if test="$chunkmode = 0">
7                  <xsl:attribute name="class">selected</xsl:attribute>
8              </xsl:if>
9              Single Page
10          </a>
11          <a href="/chunked/index.html">
12              <xsl:if test="$chunkmode = 1">
13                  <xsl:attribute name="class">selected</xsl:attribute>
14              </xsl:if>
15              Chunked
16          </a>
17      </div>
18  </xsl:template>
19
20</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.