Pagination

<script>
    jQuery(document).ready(function($) {
        $("#slider-wrapper").transitionSlider({
            // example of pagination style options
            pagination: {
                enable: 1,
                style: 'effect5',
                dynamicBullets: false,
                clickable: true,
                type: 'bullets',
                normal: {
                    backgroundColor: '#ffffff',
                    border: '1px solid #e44119',
                    width: '7px',
                    height: '7px',
                    opacity: 1,
                    borderRadius: '50%',
                    boxShadow: 'none'
                },
                active: {
                    backgroundColor: '#ffffff',
                    border: 'none',
                    width: '10px',
                    height: '10px',
                    opacity: 1,
                    borderRadius: '50%',
                    boxShadow: 'none'
                },
                hover: {
                    backgroundColor: '#ffffff',
                    border: 'none',
                    width: '10px',
                    height: '10px',
                    opacity: 1,
                    borderRadius: '50%',
                    boxShadow: 'none'
                }
            }
        });
    });
</script>

Parameter

Type

Default

Description

pagination

object/boolean

false

Object with pagination parameters.

{

style

string

Predefined pagination styles. Values: effect1, effect2, effect3, effect4, effect5, effect6, effect7, effect8, effect9, effect10

clickable

boolean

If true then clicking on pagination button will cause transition to appropriate slide. Only for bullets pagination type (style: effect1, effect2, effect5, effect6)

dynamicBullets

boolean

Good to enable if you use bullets pagination with a lot of slides. So it will keep only few bullets visible at the same time.

normal

object

false

{

width

string

height

string

The height property sets the height of the pagination button. Example format: "50px" (more details here)

backgroundColor

string

padding

string

border

string

borderRadius

string

}

hover

object

false

{

width

string

height

string

The height property sets the height of the pagination button. Example format: "50px" (more details here)

backgroundColor

string

padding

string

border

string

borderRadius

string

}

active

object

false

{

width

string

height

string

The height property sets the height of the pagination button. Example format: "50px" (more details here)

backgroundColor

string

padding

string

border

string

borderRadius

string

}

}

Last updated

Was this helpful?