Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 772
  • Last Modified:

Configuring SharePoint 2010 navigation for publishing pages

I have created a new SharePoint web site, but I am having an issue getting the navigation to work as per the project requirements.

The client wants the navigation to show on the first level of navigation (side nav), then when you click on one of the links it will expose the next layer of navigation, but still show the previous layer. Once you click on another sub heading it exposes the next layer, but still displays the previous layers as well.

here's an example from another site of the general concept which we are looking for:

Navigation concept we are trying to achieve
Here is the navigation provider I am using for my side nav in my page layout:

<PublishingNavigation:PortalSiteMapDataSource
				ID="SiteMapDS"
				runat="server"
				EnableViewState="false"
				SiteMapProvider="CurrentNavigation"
				StartFromCurrentNode="true"
				StartingNodeOffset="0"
				ShowStartingNode="false"
				TrimNonCurrentTypes="Heading"/>			
			<SharePoint:AspMenu
				ID="CurrentNav"
				EncodeTitle="false"
				runat="server"
				EnableViewState="false"
				DataSourceID="SiteMapDS"
				UseSeparateCSS="false"
				UseSimpleRendering="true"
				Orientation="Vertical"
				StaticDisplayLevels="4"
				MaximumDynamicDisplayLevels="0"
				CssClass="s4-ql" 
				SkipLinkText="<%$Resources:cms,masterpages_skiplinktext%>"/>

Open in new window


Any ideas how I proceed from here?

Thank you!
0
cnibspteam
Asked:
cnibspteam
1 Solution
 
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
Hello,

that cannot be done with out-of-the-box SharePoint 2010. It will require custom code.

For a taste of what may be involved (and it's not something that can be covered in a single post) have a look at the search engine results for "sharepoint 2010 accordion".

Your options range from custom development with .Net and VisualStudio to intricate hacking with jQuery. Each of which would be worth writing a book about.

cheers, teylyn
0

Featured Post

Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

Tackle projects and never again get stuck behind a technical roadblock.
Join Now