Page view page-view
Main view consists of the catalog image. It can be swiped to get to another page or zoomed.
CSS properties of the main viewer area
The appearance of the viewing area is controlled with the following CSS class selector:
.s7ecatalogsearchviewer .s7pageview
Example - to make the main view transparent.
.s7ecatalogsearchviewer .s7pageview {
background-color: transparent;
}
On desktop systems, the component supports the cursortype
attribute selector which can be applied to .s7pageview
class and controls the type of the cursor based on component state and user action. The following cursortype
values are supported:
The page divider that visually separates the left and right pages of the catalog spread is controlled with the following CSS class selector:
.s7ecatalogsearchviewer .s7pageview .s7pagedivider
Example - To have 40 pixels wide page divider with semi-transparent image.
.s7ecatalogsearchviewer .s7pageview .s7pagedivider {
width:40px;
background-image:url(images/sdk/divider.png);
}
frametransition
modifier is set to turn
or auto
(on desktop systems), the appearance of the page divider is controlled with the pageturnstyle
modifier and the .s7pagedivider
CSS class is ignored.It is possible to configure the display of the custom mouse cursors over the main viewer area. This ability is controlled with the additional attribute selectors applied to .s7ecatalogsearchviewer .s7pageview
CSS class:
Example - have different mouse cursors for each type of component state.
.s7ecatalogsearchviewer .s7pageview[cursortype="default"] {
cursor:auto;
}
.s7ecatalogsearchviewer .s7pageview[cursortype="zoomin"] {
cursor:url(images/zoomin_cursor.cur), auto;
}
.s7ecatalogsearchviewer .s7pageview[cursortype="reset"] {
cursor:url(images/zoomout_cursor.cur), auto;
}
.s7ecatalogsearchviewer .s7pageview [cursortype="slide"] {
cursor:url(images/slide_cursor.cur), auto;
}
.s7ecatalogsearchviewer .s7pageview[cursortype="drag"] {
cursor:url(images/drag_cursor.cur), auto;
}