need help with custom navigation
- I want to customize navigation on my OL website. In the tutorial, it says to
-select module
-select custom navigation, click ok
-click select file
-select the file TopNavFirstLevelElementsOnly.xslt and click ok
I never get a list of .xslt documents, so I can't select that file
I want my custom navigation to be horizontal, not vertical
How do I do this?
thanks
Alle Antworten
- Is that file not included with the supporting files? :(
Anyway, the contents of that file are:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:param name="NavType" />
<xsl:output method="html" omit-xml-declaration="no"
doctype-public="officelive.microsoft.com"/>
Robert
<xsl:template match="/NavNodes">
<table cellspacing="0" class=" MSC_PrimaryNavFrame" >
<tr>
<xsl:for-each select="NavNode">
<td class="MSC_PrimaryNavLinkFrame aish" >
<div>
<a class="MSC_PrimaryNavLink">
<xsl:attribute name="class">
<xsl:text>MSC_PrimaryNavLink</xsl:text>
</xsl:attribute>
<xsl:attribute name="href">
<xsl:value-of select="@url" />
</xsl:attribute>
<xsl:value-of select="@name"/>
</a>
</div>
<td class="MSC_PrimaryNavRightSpace"></td>
</td>
</xsl:for-each>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>- Als Antwort vorgeschlagenRobert GreenMVPMittwoch, 24. Dezember 2008 22:59
- thank you! Where are the "supporting files" that you refer to?
They were at http://dev.officelive.com in the Training section, but that appears to have been retired. They were also on an Office Live Small Business training DVD. When you mentioned the tutorial, I assumed you were referring to that training. Is that right?
Robert
- Will they be reposted somewhere? Also, see my post "left navigation function has disappeared"
many thanks!!!! - I don't know, but if you want, I could post them somewhere for you. Let me know.
Robert

