MSDN > 論壇首頁 > Office Live Small Business - Web Site > need help with custom navigation
發問發問
 

提議的解答need help with custom navigation

  • Wednesday, 17 December, 2008 21:54ayonhere 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    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

所有回覆

  • Wednesday, 24 December, 2008 22:58Robert GreenMVP使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     提議的解答
    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"/>


      <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>

    Robert



  • Saturday, 27 December, 2008 17:49ayonhere 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    thank you! Where are the "supporting files" that you refer to?
  • Monday, 29 December, 2008 21:36Robert GreenMVP使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    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

  • Thursday, 8 January, 2009 14:50ayonhere 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Will they be reposted somewhere? Also, see my post "left navigation function has disappeared"

    many thanks!!!!
  • Thursday, 15 January, 2009 22:56Robert GreenMVP使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
     I don't know, but if you want, I could post them somewhere for you. Let me know.

    Robert
  • Monday, 2 November, 2009 3:29AzharNadeem 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    I think you can use a thir party navigation.

    Regards
    Azhar
    http://nafeesbadges.com