Content Slider Macro - Cloud

Features

The Content Slider macro lets you create slides, separated by <mohami-slider-entry> as the delimiter, with full Confluence editing and formatting functionality.

Use the Content Slider macro to slide through page content like text, links or even charts instead of just images. You can create interactive step-by-step guides or just a simple news ticker using the Content Slider macro. You can place as many entries as needed separating each with the <mohami-slider-entry> delimiter and use the usual formatting styles as suitable to your needs.

Parameters

Parameter

Default

Description

Parameter

Default

Description

Width

500px

Enter the width of the slider in pixels or percents. Leave blank to let the slider automatically choose the best size.

Example: 100%, 500px

Height

300px

Enter the height of the slider in pixels. Leave blank to let the slider automatically choose the best size.

Background Color

whiteSmoke

Enter the background color of the content slider. Use hexadecimal notation or HTML color name.

Slider Effect

Fade

Choose between multiple transition effects. Valid values are:

  • Fade

  • Slide

Auto Slide Display Time

3000

Enter the time in milliseconds (ms) to specify how long each image must be shown. 0 value turns auto slider off.

Content Padding

selected

Enable to add padding to the slide content.

Show Navigation

selected

Choose to show previous or next navigation.

Show Bullets

selected

Choose to show bullets at the bottom of the slider.

 

Creating Content Slider macros

  1. Go to the page where you want to create the slides and click edit.

  2. Type '/' or click the + icon.

  3. Select Content Slider macro. The Insert ‘Content Slider’ Macro is displayed.

  4. Specify the parameters. For more information, see.

  5. Click Insert.

  6. Enter <mohami-slider-entry> and the content in the macro body. <mohami-slider-entry> is a delimiter that must be specified to create slides.

    Shows how to insert slides in the Content Slider macro
  1. Publish the page. The slides with the specified content is rendered.