Slideshows | CTC for HCL Digital Experience

These slideshows can be added to your page from the Create Content Slideshows view when in Edit mode.

The Slideshow template is similar to the List template, but has extra fields for configuring the behavior of the slideshow widget. The configuration includes the type of transition, duration, automatic or manual starts, when to pause, and what controls to display. The widget that is used to render the slideshow is a Dojo widget called dojox.widget.AutoRotator. The widget rotates through the elements in a list, adding a transition between them. Content Template Catalog has examples that show linked images, but the list can contain any type of content.

The configuration information that is entered into a Slideshow configuration item is translated into parameters for the widget by using a JavaScript method in content.js. This code also instantiates the Dojo widget.

The styling of the slideshows is complex as they have a separate "caption" container that is populated as it rotates through the slideshow. The caption is stored in a hidden DIV element with each slide and is then copied into the visible container through event handlers that are attached to the widget.

The following example shows a promotional slideshow, with overload captions and title controls.

This picture shows a slideshow with three titles. The captions that change as users click a different title.

This second example shows a content slideshow with number controls and formatted captions.

This picture shows one content item in a slideshow. Users click a number to browse to another part of the slideshow.

Slideshow configuration

Each slideshow uses a configuration document based on the Slideshow authoring template in the CTC Design library. The following configuration parameters are used by the slideshow:
Transition
You can select from a range of transitions including fades, slides, pans, and wipes.
Rotation
Select the type of rotation to apply to a slideshow. This determines how often the slides in the slideshow are shown and in what order.
Slide Duration
This determines how long each slide in the slideshow is displayed before the next image is displayed.
Suspend
The rotation of a slideshow can be stopped by using the different methods that are chosen in this parameter.
Controls
Different slideshow controls can be displayed by using the different control options that are selected in this parameter.
Height
This determines the height of the slideshow.
List Title
Some list designs include a title in their header design. The title entered here is displayed in those list designs.
CSS Style
Much of the design of each slideshow is defined in the CSS file that is linked to that slideshow. You can enter the name of alternative CSS files here to change some design elements of the content that is displayed in the slideshow.
List component
The list component that is selected here defines what content is displayed in the slideshow.
List Presentation Component
The list presentation that is selected here defines the layout of the header, footer, and body of the content that is retrieved by the list component.
Context Override
You can select a site, site area, content item to use as the default context of the slideshow. This is used instead of the default slideshow context.
List Templates
Some list components display content that uses a specific authoring template. Extra authoring templates can be specified here.
List Categories
Some list components display content that is profiled by using specific categories. Extra authoring templates can be specified here.