Skip to content
Snippets Groups Projects
Commit bca69293 authored by Goik Martin's avatar Goik Martin
Browse files

Linking slides to webhelp

parent 9649da86
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,6 @@
<body>
<!-- Wrap the entire slide show in a div using the "reveal" class. -->
<p> Back to <a href="{$rootId}.html">lecture notes</a></p>
<div class="reveal">
<!-- Wrap all slides in a single "slides" class -->
<div class="slides">
......@@ -110,7 +109,14 @@
<xsl:otherwise><xsl:value-of select="generate-id(.)"/></xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:apply-templates select="."/>
<a style="font-size: 50%">
<xsl:attribute name="href">
<xsl:call-template name="href.target.uri"/>
</xsl:attribute>
<xsl:text>Back</xsl:text>
</a>
</section>
</xsl:template>
......@@ -137,55 +143,6 @@
</xsl:attribute>
</img>
</xsl:template>
<!-- <xsl:template match="d:section">
<xsl:param name="titleset"/>
<xsl:variable name="extendedTitleset" select="$titleset|d:title"/>
<section id="{@xml:id}">
<xsl:call-template name="titleNavigation">
<xsl:with-param name="titleset" select="$extendedTitleset"/>
</xsl:call-template>
<xsl:apply-templates select="*[not(self::d:section | self::d:title)]"/>
</section>
<xsl:apply-templates select="d:section">
<xsl:with-param name="titleset" select="$extendedTitleset"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template name="titleNavigation">
<xsl:param name="titleset"/>
<h4>
<xsl:for-each select="$titleset[1]">
<a href="#{parent::*/@xml:id}">
<!-\- <xsl:value-of select="."/> -\->
<xsl:text>Top</xsl:text><!-\- Overall title is likely too long -\->
</a>
</xsl:for-each>
<xsl:for-each select="$titleset[1 &lt; position() and position() &lt; last()]">
<xsl:text> &gt; </xsl:text>
<a href="#{parent::*/@xml:id}">
<xsl:value-of select="."/>
</a>
</xsl:for-each>
<xsl:for-each select="$titleset[1 &lt; position() and position() = last()]">
<xsl:text> &gt; </xsl:text>
<xsl:value-of select="."/>
</xsl:for-each>
</h4>
</xsl:template>
<xsl:template match="d:title">
<h4>
<xsl:value-of select="."/>
</h4>
</xsl:template>
-->
</xsl:stylesheet>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment