began to fix bugs with currently selected page in nav menu list

svn path=/branches/design/; revision=18003
This commit is contained in:
samtuke 2010-10-29 16:11:28 +00:00
parent 9f432fc808
commit 18da777b94
2 changed files with 13 additions and 3 deletions

View File

@ -218,9 +218,10 @@
and not(@id=/buildinfo/textset/text/@id)]"/>
</xsl:when>
<xsl:when test=". = concat(/buildinfo/@filename ,'.html')">
<xsl:value-of select="/buildinfo/textset/text[@id=$id]|
/buildinfo/textsetbackup/text[@id=$id
and not(@id=/buildinfo/textset/text/@id)]"/>
<xsl:element name="span">
<xsl:attribute name="id">selected</xsl:attribute>
<xsl:value-of select="/buildinfo/textset/text[@id=$id]| /buildinfo/textsetbackup/text[@id=$id and not(@id=/buildinfo/textset/text/@id)]"/>
</xsl:element>
</xsl:when>
<xsl:otherwise>
<xsl:element name="a">

View File

@ -493,6 +493,15 @@ h4#subpages + ul li:nth-child(odd) {
-webkit-border-radius-bottomleft: 5px;
}
#navigation ul#menu span#selected {
border-left:15px solid #DCDCDC;
font-weight:normal;
padding:0.6em 0 0.8em 0.6em;
color:#808080;
font-size:15.5px;
line-height:50%;
}
#navigation ul#languages {
background-color: rgb(74,210,240);
float: left;