Solved

Sharepoint 2010:  How do I add 'More...' to the quicklaunch to limit the number of items in the view

Posted on 2014-04-08
3
438 Views
Last Modified: 2014-04-09
I want to limit the number of items users initially see and allow them to expand the quicklaunch links where they want to.
0
Comment
Question by:hattersv
  • 2
3 Comments
 
LVL 31

Expert Comment

by:Jamie McAllister MVP
ID: 39988527
The Quick launch items are a List in HTML within a Div with class 'menu vertical menu-vertical'.

Someone has created some example Javascript to collapse such lists with a More link;

http://jsfiddle.net/4YvaP/33/

If you're prepared to dabble with the script you can get what you want.

Out of the box, not so much.
0
 

Author Comment

by:hattersv
ID: 39988847
It is helpful to know that there is nothing out of the box.  I am prepared to edit the HTML but am an amateur so need a little more guidance than is provided there.  Is it possible to get that, in terms of exactly what to put where?
0
 
LVL 31

Accepted Solution

by:
Jamie McAllister MVP earned 500 total points
ID: 39989100
Depends on scope really. If this was a single page you could add the javascript to a content editor web part.

For wider usage, put the javascript in its own file and reference the file from the masterpage used in the site. SharePoint Designer could be used to add the script reference.

The answers here make a series of good points;

http://sharepoint.stackexchange.com/questions/35701/using-javascript-in-sharepoint
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question