đź““
Transition Slider jQuery
  • Welcome
  • Getting started
    • Slider Project Setup
  • Slider Options
    • General
    • Size
    • Autoplay
    • Video
    • Navigation
    • Wheel Navigation
    • Pagination
    • Thumbnails
    • Hash Navigation
    • Loading
    • Lightbox
  • Slide Options
    • Slide parameters
    • Transitions
  • Layer Options
    • Layer parameters
    • Element parameters
  • Special notes
    • Running things locally
Powered by GitBook
On this page

Was this helpful?

  1. Slider Options

Thumbnails

<script>
    jQuery(document).ready(function($) {
        $("#slider-wrapper").transitionSlider({
            // example of thumbnails options
            thumbs: {
                enable: false,
                position: "bottom",
                thumbWidth: 100,
                thumbHeight: 60,
                spaceAround: 3,
                spaceBetween: 3,
                background: "none",
                outsideSlider: true,
                centered: true
            },
        });
    });
</script>

Parameter

Type

Default

Description

thumbs

object

Object with thumbnails parameters.

{

enable

boolean

false

Enable / disable slider thumbnails

position

string

"bottom"

Set the position of the thumbnails. There are 4 positions where you can place thumbnails (Values: “top”, “bottom”, “left”, “right”).

thumbWidth

number

100

The width of one thumbnail. The width is expressed by a number and the value is displayed in “px” unit.

thumbHeight

number

60

The height of one thumbnail. The height is expressed by a number and the value is displayed in “px” unit.

spaceAround

number

3

The space surrounding the thumbnails container.

spaceBetween

number

3

Spacing between adjacent thumbnails.

background

string

"none"

outsideSlider

boolean

true

Select the position using the position parameter. With this option you can choose whether the thumbnails will be inside the slider or outside.

centered

boolean

true

Centering thumbnails container.

}

PreviousPaginationNextHash Navigation

Last updated 3 years ago

Was this helpful?

Background color behind thumbnails. Example format: "#FF0000" (more details ).

here