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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

759 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now