Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
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
Medium Priority
?
466 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 2000 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When installing SharePoint 2010 RTM I came across a strange error, I was getting timeouts during the installation. I searched the web and found the best solution to be found here (http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010genera…
I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

609 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