Changeset 8df9f63 for stylesheets/xhtml


Ignore:
Timestamp:
05/19/2004 09:48:22 PM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
40327886
Parents:
a9e89d0
Message:

HEAD: StyleSheets - changed the navigational links to make it simetrical and added popup titles.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3665 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
stylesheets/xhtml
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/xhtml/lfs-legalnotice.xsl

    ra9e89d0 r8df9f63  
    3434                      <xsl:text>../index.html</xsl:text>
    3535                    </xsl:attribute>
    36                     <xsl:text>Home</xsl:text>
     36                    <xsl:attribute name="title">
     37                      <xsl:value-of select="/book/bookinfo/title"/>
     38                      <xsl:text> - </xsl:text>
     39                      <xsl:value-of select="/book/bookinfo/subtitle"/>
     40                    </xsl:attribute>
     41                    <xsl:call-template name="navig.content">
     42                      <xsl:with-param name="direction" select="'home'"/>
     43                    </xsl:call-template>
    3744                  </a>
    3845                </li>
  • stylesheets/xhtml/lfs-navigational.xsl

    ra9e89d0 r8df9f63  
    2727        <xsl:if test="$home != .">
    2828          <div class="headertitles">
    29             <p>
     29            <h4>
    3030              <xsl:apply-templates select="$home" mode="object.title.markup"/>
    3131              <xsl:text> - </xsl:text>
    3232              <xsl:apply-templates select="$home" mode="object.subtitle.markup"/>
    33             </p>
     33            </h4>
    3434            <xsl:if test="$up != $home">
    35               <p><b>
     35              <h3>
    3636                <xsl:apply-templates select="$up" mode="object.title.markup"/>
    37               </b></p>
     37              </h3>
    3838            </xsl:if>
    3939          </div>
     
    4848                  </xsl:call-template>
    4949                </xsl:attribute>
    50                 <xsl:text>Prev</xsl:text>
     50                <xsl:attribute name="title">
     51                  <xsl:value-of select="$prev/title"/>
     52                </xsl:attribute>
     53                <xsl:call-template name="navig.content">
     54                  <xsl:with-param name="direction" select="'prev'"/>
     55                </xsl:call-template>
    5156              </a>
    5257            </li>
     
    6065                  </xsl:call-template>
    6166                </xsl:attribute>
    62                 <xsl:text>Next</xsl:text>
     67                <xsl:attribute name="title">
     68                  <xsl:value-of select="$next/title"/>
     69                </xsl:attribute>
     70                <xsl:call-template name="navig.content">
     71                  <xsl:with-param name="direction" select="'next'"/>
     72                </xsl:call-template>
    6373              </a>
    6474            </li>
     
    7282                  </xsl:call-template>
    7383                </xsl:attribute>
    74                 <xsl:text>Up</xsl:text>
     84                <xsl:attribute name="title">
     85                  <xsl:apply-templates select="$up" mode="object.title.markup"/>
     86                </xsl:attribute>
     87                <xsl:call-template name="navig.content">
     88                  <xsl:with-param name="direction" select="'up'"/>
     89                </xsl:call-template>
    7590              </a>
    7691            </li>
     
    8398                </xsl:call-template>
    8499              </xsl:attribute>
    85               <xsl:text>Home</xsl:text>
     100                <xsl:attribute name="title">
     101                  <xsl:value-of select="$home/bookinfo/title"/>
     102                  <xsl:text> - </xsl:text>
     103                  <xsl:value-of select="$home/bookinfo/subtitle"/>
     104                </xsl:attribute>
     105                <xsl:call-template name="navig.content">
     106                  <xsl:with-param name="direction" select="'home'"/>
     107                </xsl:call-template>
    86108            </a>
    87109          </li>
     
    111133                  </xsl:call-template>
    112134                </xsl:attribute>
    113                 <xsl:text>Prev</xsl:text>
    114               </a>
    115               <p>
    116                 <xsl:apply-templates select="$prev" mode="object.title.markup"/>
    117               </p>
     135                <xsl:attribute name="title">
     136                  <xsl:value-of select="$prev/title"/>
     137                </xsl:attribute>
     138                <xsl:call-template name="navig.content">
     139                  <xsl:with-param name="direction" select="'prev'"/>
     140                </xsl:call-template>
     141              </a>
    118142            </li>
    119143          </xsl:if>
     
    126150                  </xsl:call-template>
    127151                </xsl:attribute>
    128                 <xsl:text>Next</xsl:text>
    129               </a>
    130               <p>
    131                 <xsl:apply-templates select="$next" mode="object.title.markup"/>
    132               </p>
     152                <xsl:attribute name="title">
     153                  <xsl:value-of select="$next/title"/>
     154                </xsl:attribute>
     155                <xsl:call-template name="navig.content">
     156                  <xsl:with-param name="direction" select="'next'"/>
     157                </xsl:call-template>
     158              </a>
    133159            </li>
    134160          </xsl:if>
     
    141167                  </xsl:call-template>
    142168                </xsl:attribute>
    143                 <xsl:text>Up</xsl:text>
     169                <xsl:attribute name="title">
     170                  <xsl:apply-templates select="$up" mode="object.title.markup"/>
     171                </xsl:attribute>
     172                <xsl:call-template name="navig.content">
     173                  <xsl:with-param name="direction" select="'up'"/>
     174                </xsl:call-template>
    144175              </a>
    145176            </li>
     
    153184                  </xsl:call-template>
    154185                </xsl:attribute>
    155                 <xsl:text>Home</xsl:text>
     186                <xsl:attribute name="title">
     187                  <xsl:value-of select="$home/bookinfo/title"/>
     188                  <xsl:text> - </xsl:text>
     189                  <xsl:value-of select="$home/bookinfo/subtitle"/>
     190                </xsl:attribute>
     191                <xsl:call-template name="navig.content">
     192                  <xsl:with-param name="direction" select="'home'"/>
     193                </xsl:call-template>
    156194              </a>
    157195            </li>
Note: See TracChangeset for help on using the changeset viewer.