Selecting the Next slide button moves a user to the next 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 .s7panrightbutton
CSS property |
Description |
---|---|
top |
Position from the top of the viewer border. |
right |
Position from the right of the viewer border. |
left |
Position from the left of the viewer. |
bottom |
Position from the bottom of the viewer border. |
width |
Width of the button. |
height |
Height of the button. |
background-image |
The image that is displayed for a given button state. |
background-position |
Position inside artwork sprite, if CSS sprites are used. See also CSS sprites . |
cursor |
Cursor type. |
This button supports the 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 the button positioned ten pixels from the right viewer border and vertically centered. And, you want it to display a different image for each of the four different button states.
.s7carouselviewer .s7panrightbutton{
bottom: 50%;
right: 10px;
background-size:60px;
cursor: pointer;
}
.s7carouselviewer.s7mouseinput .s7panrightbutton {
width:60px;
height:60px;
margin-bottom: -20px;
}
.s7carouselviewer.s7mouseinput .s7panrightbutton[state] {
background-image: url(../../viewers/s7viewers/html5/images/v2/CarouselDotsRightButton_dark_sprite.png);
}
.s7carouselviewer.s7mouseinput .s7panrightbutton[state='up'] { background-position: -0px -60px; }
.s7carouselviewer.s7mouseinput .s7panrightbutton[state='over'] { background-position: -0px -0px; }
.s7carouselviewer.s7mouseinput .s7panrightbutton[state='down'] { background-position: -0px -0px; }
.s7carouselviewer.s7mouseinput .s7panrightbutton[state='disabled'] { background-position: -0px -60px; }