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

提議的解答need help with custom navigation

  • 2008年12月17日 下午 09: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

所有回覆

  • 2008年12月24日 下午 10: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



  • 2008年12月27日 下午 05:49ayonhere 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    thank you! Where are the "supporting files" that you refer to?
  • 2008年12月29日 下午 09: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

  • 2009年1月8日 下午 02:50ayonhere 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Will they be reposted somewhere? Also, see my post "left navigation function has disappeared"

    many thanks!!!!
  • 2009年1月15日 下午 10:56Robert GreenMVP使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
     I don't know, but if you want, I could post them somewhere for you. Let me know.

    Robert
  • 2009年11月2日 上午 03:29AzharNadeem 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    I think you can use a thir party navigation.

    Regards
    Azhar
    http://nafeesbadges.com