I'd like to build a content rotator web part for SharePoint 2010 to display list information. I'm working with the ever-popular AnythingSlider. A couple of questions:

  • How would I let the page author set the AnythingSlider's defaults, such as buildArrows, width, height, and other properties from the web part edit dialog?
  • Is this a project best done in Visual Studio as a visual web part?
  • I'm going to create it as a content query web part with a custom ItemStyle.xsl file. This will then contain the AnythingSlider code. It might pull data from a list in another site, and therefore the CQWP choice. Is this a good approach?

Also, if you know of a good (and free) SharePoint content rotator, please advise. I'm looking for something that can handle any kind of content, thus the AnythingSlider. Thanks :)

4 Answers 4


Here's an example of a content slider based on an announcements list using jQuery, SpServices, and jShowoff. It's an example of what can be done client side.

  • Thanks, PirateEric. Exactly what I needed! The example covers how to create a content rotator from start to finish. Much appreciated :)
    – Alex C
    Commented Aug 22, 2011 at 5:32

Please try this: http://www.gloiretech.com/sharepoint-tools/content-slider-sharepoint/

  • 1
    While this post may answer the question, we prefer more details such as "why". Please edit your post with additional details. See answer for general guidelines.
    – SPDoctor
    Commented Mar 20, 2012 at 10:54

Since you're working with the Anythingslider, which is jQuery-based, you could also consider using jQuery all the way. My SPServices library would allow you to pull list items easily using SharePoint's Web Services. Storing that content in different sites would pose no problem, as long as your permissions were set correctly.

You could store both the content for the rotator and the settings in lists, which your user could update easily. I've taken this approach many times.

There's always more than one way to do things in SharePoint; it all depends on your governance and skills.

BTW, there are more image rotators available for jquery than I could possibly count - it seems to be one of the most common uses for jQuery out there.

  • Thanks, Marc. That's a very popular library you've created; takes a lot of the complexity out of using SharePoint on the client side :)
    – Alex C
    Commented Aug 22, 2011 at 5:30
  • choosing the CQWP is a good idea: not only from the performance point of view but also for its decoupling of UI and query
  • to provide additional configuration capabilities you might want to create a custom Web Part that inherits from the CQWP and introduces additional properties that allow to configure the content rotator
  • because you would be inheriting from the CQWP the best way would be to choose the Web Part SPI template as the starting point. If you need more explanation on this choice, read my article at http://blog.mastykarz.nl/when-use-which-web-part-template/
  • Thanks, Waldek. Good options. I'm hoping to get into Visual Studio development for SharePoint before too long.
    – Alex C
    Commented Aug 22, 2011 at 5:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.