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
456 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 32

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 32

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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
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…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

717 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