Previous slide previous-slide
Selecting this button returns a user to the previous slide in the carousel set. This button is not displayed on touch devices. You can size, skin, and position this button using CSS.
CSS properties of the main viewer area
The appearance of the button is controlled with the following CSS class selector:
.s7carouselviewer .s7panleftbutton
Position inside artwork sprite, if CSS sprites are used.
See also CSS sprites.
state
attribute selector, which can be used to apply different skins to different button states.The button tool tip can be localized. See Localization of user interface elements for more information.
As an example, suppose you want to set up a previous slide button that is 60 x 60 pixels. You want it positioned ten pixels from the left viewer border and vertically centered. And, you want it to display a different image for each of the four different button states.
.s7carouselviewer .s7panleftbutton {
bottom: 50%;
left: 10px;
background-size:60px;
cursor: pointer;
}
.s7carouselviewer.s7mouseinput .s7panleftbutton {
width:60px;
height:60px;
margin-bottom: -20px;
}
.s7carouselviewer.s7mouseinput .s7panleftbutton[state] {
background-image: url(../../viewers/s7viewers/html5/images/v2/CarouselDotsLeftButton_dark_sprite.png);
}
.s7carouselviewer.s7mouseinput .s7panleftbutton[state='up'] { background-position: -0px -60px; }
.s7carouselviewer.s7mouseinput .s7panleftbutton[state='over'] { background-position: -0px -0px; }
.s7carouselviewer.s7mouseinput .s7panleftbutton[state='down'] { background-position: -0px -0px; }
.s7carouselviewer.s7mouseinput .s7panleftbutton[state='disabled'] { background-position: -0px -60px; }