Skip to content

News Carousel

Olivier Carpentier edited this page Feb 27, 2017 · 7 revisions

News Carousel Web Part Overview

The news carousel web parts renders a dynamic news slider carousel in your page. This web part implements unitegallery.js (a popular jquery script) as a client side web part for SharePoint.

news carousel

Properties

You can configure the following Web Part settings:

  • items: you can manage a list of news items. A news item is composed with the following fields: Title (mandatory), Description, Enable (mandatory), Link Url (mandatory), Picture (mandatory)
  • Enable Arrows: enable arrows onslider element
  • Enable Bullets: enable the bullets onslider element
  • Enable Play Button: true,false - enable play / pause button onslider element
  • Enable Fullscreen Button: true,false - enable fullscreen button onslider element
  • Enable Zoom Panel: true,false - enable the zoom buttons, works together with zoom control.
  • Controls Always On: true,false - controls are always on, false - show only on mouseover
  • Preserve Ratio: true, false - preserver ratio when on window resize
  • Pause On Mouseover: true,false - pause on mouseover when playing slideshow true/false
  • Carousel: true,false - next button on last image goes to first image.
  • Autoplay: true / false - begin slideshow autoplay on start
  • Speed: play interval of the slideshow
  • Transition: fade, slide - the transition of the slide change
  • Enable Progress Indicator: enable progress indicator element
  • Text Panel Enable: enable textpanel
  • Text Panel Always On Top: textpanel always visible
  • Text Panel Opacity: textpanel background opacity
  • Text Panel Font: textpanel title font family. if null - take from css
  • Text Panel Font Size: textpanel title font size. if null - take from css
  • Text Panel Font Color: textpanel title color. if null - take from css
  • Text Panel Background Color: textpanel background color
  • Text Panel Align: textpanel title text align. if null - take from css

Screenshots

3DCarousel

Installing the web part

Click here to access to the Installation Process. You can install and test this web part without compiling the code by following this procedure.

Source Code

https://github.com/OlivierCC/spfx-40-fantastics/tree/master/src/webparts/newsCarousel

Minimal Path to Awesome

  • Clone this repository
  • in the command line run:
    • npm install
    • gulp serve

Version history

Version Date Comments
1.0 October 2016 Initial release

Solution

Solution Author(s)
spfx-40-fantastics Olivier Carpentier (@olivierc)

The MIT License (MIT)

Copyright (c) 2016 Olivier Carpentier

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Clone this wiki locally