Spin left button spin-left-button

Selecting this button spins the image to the left in main view. This button is not displayed on mobile phones in order to save screen real estate. Also, the button is hidden when a multi-dimensional spin set is used. You can size, skin, and position the button using CSS.

CSS properties of the spin buttons

The button is added to an internal container that is DIV controlled with the CSS class selector:

.s7mixedmediaviewer .s7spinbuttons
CSS property
Description
top
Position from the top border, including padding.
right
Position from the right border, including padding.
left
Position from the left border, including padding.
bottom
Position from the bottom border, including padding.
width
Width of the button.
height
Height of the button.

The appearance of this button inside the container is controlled with the CSS class selector:

.s7mixedmediaviewer .s7spinbuttons .s7panleftbutton
CSS property
Description
top
Position from the top border, including padding.
right
Position from the right border, including padding.
left
Position from the left border, including padding.
bottom
Position from the bottom border, including padding.
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 CSS Sprites.

NOTE
This button supports the state attribute selector, which can be used to apply different skins to different button states.

The button tool tips can be localized. See Localization of user interface elements for more information.

Example - To set up a spin left button that is 28 x 28 pixels, and is positioned on the left edge of inner container. And finally, displays a different image for each of the four different button states:

.s7mixedmediaviewer .s7spinbuttons .s7panleftbutton {
 position:absolute;
 left: 0px;
 width:28px;
 height:28px;
 background-size:contain;
 }
.s7mixedmediaviewer .s7spinbuttons .s7panleftbutton[state='up'] {
background-image:url(images/v2/SpinLeftButton_light_up.png);
}
.s7mixedmediaviewer .s7spinbuttons .s7panleftbutton[state='over'] {
background-image:url(images/v2/SpinLeftButton_light_over.png);
}
.s7mixedmediaviewer .s7spinbuttons .s7panleftbutton[state='down'] {
background-image:url(images/v2/SpinLeftButton_light_down.png);
}
.s7mixedmediaviewer .s7spinbuttons .s7panleftbutton[state='disabled'] {
background-image:url(images/v2/SpinLeftButton_light_disabled.png);
}
recommendation-more-help
b7426f53-aad9-4c00-83fc-664f30f681e8