<xsl:param name="ie5" select="0"/>
<xsl:param name="multiframe" select="0"/>
+<xsl:param name="multiframe.top.bgcolor" select="'white'"/>
+<xsl:param name="multiframe.bottom.bgcolor" select="'white'"/>
+
<xsl:template match="slides">
<xsl:variable name="title">
<xsl:choose>
<head>
<title><xsl:value-of select="$title"/></title>
</head>
- <frameset border="1" cols="{$toc.width},*" name="topframe">
- <frame src="toc.html" name="toc"/>
+ <frameset border="1" cols="{$toc.width},*" name="topframe" framespacing="0">
+ <frame src="toc.html" name="toc" frameborder="1"/>
<frame src="{$titlefoil.html}" name="foil"/>
<noframes>
<body class="frameset" xsl:use-attribute-sets="body-attrs">
</xsl:variable>
<frameset rows="25,*,25" border="0" name="foil" framespacing="0">
- <frame src="top-{$thissection}" name="top" marginheight="0" scrolling="no"/>
- <frame src="body-{$thissection}" name="body" marginheight="0"/>
- <frame src="bot-{$thissection}" name="bottom" marginheight="0" scrolling="no"/>
+ <frame src="top-{$thissection}" name="top" marginheight="0" scrolling="no" frameborder="0"/>
+ <frame src="body-{$thissection}" name="body" marginheight="0" frameborder="0"/>
+ <frame src="bot-{$thissection}" name="bottom" marginheight="0" scrolling="no" frameborder="0"/>
<noframes>
<body class="frameset" xsl:use-attribute-sets="body-attrs">
<p>
</script>
</xsl:if>
</head>
- <body class="navigation">
+ <body class="navigation" bgcolor="{$multiframe.top.bgcolor}">
<xsl:call-template name="section-top-nav">
<xsl:with-param name="prev-target" select="'foil'"/>
<xsl:with-param name="next-target" select="'foil'"/>
</script>
</xsl:if>
</head>
- <body class="navigation">
+ <body class="navigation" bgcolor="{$multiframe.bottom.bgcolor}">
<xsl:call-template name="section-bottom-nav"/>
</body>
</html>
<xsl:value-of select="$nextfoil"/>
<xsl:text>')</xsl:text>
</xsl:attribute>
- <frame src="top-{$thisfoil}" name="top" marginheight="0" scrolling="no">
+ <frame src="top-{$thisfoil}" name="top" marginheight="0" scrolling="no" frameborder="0">
<xsl:attribute name="onkeypress">
<xsl:text>navigate('</xsl:text>
<xsl:value-of select="$prevfoil"/>
<xsl:text>')</xsl:text>
</xsl:attribute>
</frame>
- <frame src="body-{$thisfoil}" name="body" marginheight="0">
+ <frame src="body-{$thisfoil}" name="body" marginheight="0" frameborder="0">
<xsl:attribute name="onkeypress">
<xsl:text>navigate('</xsl:text>
<xsl:value-of select="$prevfoil"/>
<xsl:text>')</xsl:text>
</xsl:attribute>
</frame>
- <frame src="bot-{$thisfoil}" name="bottom" marginheight="0" scrolling="no">
+ <frame src="bot-{$thisfoil}" name="bottom" marginheight="0" scrolling="no" frameborder="0">
<xsl:attribute name="onkeypress">
<xsl:text>navigate('</xsl:text>
<xsl:value-of select="$prevfoil"/>
</script>
</xsl:if>
</head>
- <body class="navigation">
+ <body class="navigation" bgcolor="{$multiframe.top.bgcolor}">
<xsl:call-template name="foil-top-nav">
<xsl:with-param name="prev-target" select="'foil'"/>
<xsl:with-param name="next-target" select="'foil'"/>
</script>
</xsl:if>
</head>
- <body class="navigation">
+ <body class="navigation" bgcolor="{$multiframe.bottom.bgcolor}">
<xsl:call-template name="foil-bottom-nav"/>
</body>
</html>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
-<xsl:import href="/sourceforge/docbook/xsl/html/chunk.xsl"/>
+<xsl:import href="../../xsl/html/chunk.xsl"/>
<xsl:output method="html"/>
<xsl:param name="toc.bg.color">#FFFFFF</xsl:param>
<xsl:param name="toc.width">250</xsl:param>
+<xsl:param name="toc.hide.show" select="0"/>
+
+<xsl:param name="ie5" select="0"/>
<xsl:attribute-set name="body-attrs">
<xsl:attribute name="bgcolor">white</xsl:attribute>
<table width="100%" border="0" cellpadding="0" cellspacing="0"
summary="Navigation">
<tr>
+ <xsl:call-template name="generate.toc.hide.show"/>
<td align="left" width="10%">
<xsl:choose>
<xsl:when test="$prevfoil != ''">
<table width="100%" border="0" cellpadding="0" cellspacing="0"
summary="Navigation">
<tr>
+ <xsl:call-template name="generate.toc.hide.show"/>
<td align="left" width="10%">
<xsl:choose>
<xsl:when test="$prevfoil != ''">
</div>
</xsl:template>
+<xsl:template name="generate.toc.hide.show">
+ <xsl:if test="$toc.hide.show=1 and $ie5=1">
+ <td>
+ <img hspace="4">
+ <xsl:attribute name="src">
+ <xsl:call-template name="graphics.dir"/>
+ <xsl:text>/</xsl:text>
+ <xsl:value-of select="'hidetoc.gif'"/>
+ </xsl:attribute>
+ <xsl:attribute name="onClick">
+if (parent.parent.document.all.topframe.cols=="0,*")
+{
+ parent.parent.document.all.topframe.cols="<xsl:value-of select="$toc.width"/>,*";
+ this.src = "<xsl:call-template name="graphics.dir"/>
+ <xsl:text>/</xsl:text>
+ <xsl:value-of select="'hidetoc.gif'"/>";
+}
+else
+{
+ parent.parent.document.all.topframe.cols="0,*";
+ this.src = "<xsl:call-template name="graphics.dir"/>
+ <xsl:text>/</xsl:text>
+ <xsl:value-of select="'showtoc.gif'"/>";
+};
+ </xsl:attribute>
+ </img>
+ </td>
+ </xsl:if>
+</xsl:template>
+
<!-- ============================================================ -->
<xsl:template name="chunk">