Ignore:
Timestamp:
05/08/2004 09:35:55 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, 12.2, 12.2-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/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
68beab5
Parents:
85c6cf4
Message:

Navigational links: back again to use <ul>
and made a proper css code.

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

File:
1 edited

Legend:

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

    r85c6cf4 r4238149  
    11<?xml version='1.0' encoding='ISO-8859-1'?>
     2
     3<!-- Version 0.9 - Manuel Canales Esparcia <macana@lfs-es.org> -->
    24
    35<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     
    3941          </div>
    4042        </xsl:if>
    41         <div class="headerlinks">
     43        <ul class="headerlinks">
    4244          <xsl:if test="count($prev)&gt;0 and $prev != $home">
    43             <div class='prev'>
     45            <li class="prev">
    4446              <a accesskey="p">
    4547                <xsl:attribute name="href">
     
    5052                <xsl:text>Prev</xsl:text>
    5153              </a>
    52             </div>
     54            </li>
    5355          </xsl:if>
    5456          <xsl:if test="count($next)&gt;0">
    55             <div class='next'>
     57            <li class="next">
    5658              <a accesskey="n">
    5759                <xsl:attribute name="href">
     
    6264                <xsl:text>Next</xsl:text>
    6365              </a>
    64             </div>
    65           </xsl:if>
    66           <div class='home'>
     66            </li>
     67          <li class="home">
    6768            <a accesskey="h">
    6869              <xsl:attribute name="href">
     
    7374              <xsl:text>Home</xsl:text>
    7475            </a>
    75           </div>
    76         </div>
     76          </li>
     77          </xsl:if>
     78        </ul>
    7779      </div>
    7880    </xsl:if>
     
    9092    <xsl:if test="$row">
    9193      <div class="navfooter">
     94        <ul>
    9295          <xsl:if test="count($prev)&gt;0 and $prev != $home">
    93             <div class='prev'>
     96            <li class="prev">
    9497              <a accesskey="p">
    9598                <xsl:attribute name="href">
     
    99102                </xsl:attribute>
    100103                <xsl:text>Prev</xsl:text>
    101               </a><br/>
    102               <xsl:text> </xsl:text>
    103               <xsl:apply-templates select="$prev" mode="object.title.markup"/>
    104             </div>
     104              </a>
     105              <p>
     106                <xsl:apply-templates select="$prev" mode="object.title.markup"/>
     107              </p>
     108            </li>
    105109          </xsl:if>
    106110          <xsl:if test="count($next)&gt;0">
    107             <div class='next'>
     111            <li class="next">
    108112              <a accesskey="n">
    109113                <xsl:attribute name="href">
     
    113117                </xsl:attribute>
    114118                <xsl:text>Next</xsl:text>
    115               </a><br/>
    116               <xsl:text> </xsl:text>
    117               <xsl:apply-templates select="$next" mode="object.title.markup"/>
    118             </div>
     119              </a>
     120              <p>
     121                <xsl:apply-templates select="$next" mode="object.title.markup"/>
     122              </p>
     123            </li>
    119124          </xsl:if>
    120125          <xsl:if test="count($up)&gt;0 and $up != $home">
    121             <div class='up'>
     126            <li class="up">
    122127              <a accesskey="u">
    123128                <xsl:attribute name="href">
     
    127132                </xsl:attribute>
    128133                <xsl:text>Up</xsl:text>
    129                </a>
    130                <xsl:if  test="$home != .">
    131                  <div class='home'>
    132                    <a accesskey="h">
    133                      <xsl:attribute name="href">
    134                        <xsl:call-template name="href.target">
    135                          <xsl:with-param name="object" select="$home"/>
    136                        </xsl:call-template>
    137                      </xsl:attribute>
    138                      <xsl:text>Home</xsl:text>
    139                    </a>
    140                  </div>
    141                </xsl:if>
    142             </div>
     134              </a>
     135            </li>
    143136          </xsl:if>
     137          <xsl:if  test="$home != .">
     138            <li class="home">
     139              <a accesskey="h">
     140                <xsl:attribute name="href">
     141                  <xsl:call-template name="href.target">
     142                    <xsl:with-param name="object" select="$home"/>
     143                  </xsl:call-template>
     144                </xsl:attribute>
     145                <xsl:text>Home</xsl:text>
     146              </a>
     147            </li>
     148          </xsl:if>
     149        </ul>
    144150      </div>
    145151    </xsl:if>
     
    147153
    148154</xsl:stylesheet>
     155
     156
Note: See TracChangeset for help on using the changeset viewer.