Killer Carousel Example: Responsive carousel

This is a responsive carousel that changes size with the parent element.

As in Example 1, the carousel is initially defined as 800 pixels wide, but it uses the autoScale property to set the carousel size to 75% of the parent element width.

Examples of the scaled width of the carousel are as follows:

Notice how the carousel elements correctly scale in proportion to the width.

The infiniteLoop property is used to make the carousel loop forever.

Salvator Mundi 1519
St. John the Baptist 1516
Lady with an Ermine 1490
St. Jerome in the Wilderness 1480
Head of a Woman 1508
St. John the Baptist 1516
The Virgin and Child with St Anne and St John the Baptist 1500
Madonna of the Yarnwinder 1507
The Virgin and Child with St. Anne 1508
Madonna of the Carnation 1480
La belle ferronnière 1496
Adoration of the Magi 1481
Portrait of a Musician 1490
Virgin of the Rocks 1486
Madonna of Laroque 1503
Benois Madonna 1478
Mona Lisa 1517
Portrait of a man in red chalk 1512
Ginevra de' Benci 1478
The Last Supper 1498
Annunciation 1475
The Battle of Anghiari 1505
Madonna Litta 1491

info

©2015 Star Plugins