First page button first-page-button
Selecting or tapping on this button brings the user to the first page in the catalog. This button appears in the main control bar on desktop systems and tablets; on mobile phones it is added to a secondary control bar. You can size, skin, and position this button by using CSS.
CSS properties of the main viewer area
The appearance of the button is controlled with the following CSS class selector:
.s7ecatalogsearchviewer .s7firstpagebutton .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.
Example - To set up a first page button that is 28 x 28 pixels, and positioned 4 pixels from the bottom and 220 pixels from the left edge of the main control bar. And finally, displays a different image for each of the four different button states.
.s7ecatalogsearchviewer .s7firstpagebutton .s7panleftbutton {
bottom:4px;
left:220px;
width:32px;
height:32px;
}
.s7ecatalogsearchviewer .s7firstpagebutton .s7panleftbutton [state='up'] {
background-image:url(images/v2/FirstPageButton_dark_up.png);
}
.s7ecatalogsearchviewer .s7firstpagebutton .s7panleftbutton [state='over'] {
background-image:url(images/v2/FirstPageButton_dark_over.png);
}
.s7ecatalogsearchviewer .s7firstpagebutton .s7panleftbutton [state='down'] {
background-image:url(images/v2/FirstPageButton_dark_down.png);
}
.s7ecatalogsearchviewer .s7firstpagebutton .s7panleftbutton [state='disabled'] {
background-image:url(images/v2/FirstPageButton_dark_disabled.png);
}