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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

I have just recently built a new SharePoint 2007 farm on a complete Windows 2008 R2 server platform and part of my standard build procedure is to implement a warm up routine, usually in the form of a script that is scheduled every morning to launch …
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

821 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