Info panel popup

Info Panel Popup displays in the middle of the viewer area when a user activates an image map that has a rollover_key property defined in Dynamic Media Classic, and if info panel feature is properly configured for the viewer.

Info panel background covers entire viewer area and is controlled with the following CSS class selector:

.s7ecatalogsearchviewer .s7infopanelpopup .s7backoverlay

CSS property

Description

background-image

Info panel background fill.

background-position

Position inside artwork sprite, if CSS sprites are used.

See also CSS Sprites .

Example - Set up the info panel popup to use a semi-transparent black background.

.s7ecatalogsearchviewer .s7infopanelpopup .s7backoverlay {
 background-color : rgba(0,0,0,0.75);
}

The info panel dialog is displayed by default in the middle of the viewer area. However it is possible to control its size, alignment, background, and border with the CSS class selector.

.s7ecatalogsearchviewer .s7infopanelpopup .s7overlay

CSS property

Description

left

Horizontal position of the info panel dialog within viewer area panel background fill.

top

Vertical position of the info panel dialog within viewer area.

width

Dialog width.

height

Dialog height.

margin-left

Left margin of the info panel dialog, may be used for centering purposes.

margin-top

Top margin of the info panel dialog, may be used for centering purposes.

padding

Internal dialog padding.

background-color

Dialog background color.

border-radius

Dialog border radius.

box-shadow

Dialog shadow.

Example - set up 300 x 200 pixels info panel dialog that is centered in the viewer area; has 40 pixels padding at the top and 10 pixels padding on all other sides, a light gray background, and a 10 pixel border radius and drop shadow.

.s7ecatalogsearchviewer .s7infopanelpopup .s7overlay {
 left: 50%;
 top: 50%;
 margin-left: -150px;
 margin-top: -100px;
 width: 300px;
 height: 200px;
 padding-top: 40px;
 padding-right: 10px;
 padding-bottom: 10px;
 padding-left: 10px;
 background-color:rgb(221,221,221);
 border-radius: 10px 10px 10px 10px;
box-shadow: 0 0 5px rgba(0,0,0,0.25);
}

The Info Panel dialog has a close button, and clicking or tapping the button closes the dialog.

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

.s7ecatalogsearchviewer .s7infopanelpopup .s7closebutton

CSS property

Description

top

Position from the top border of the dialog.

right

Position from the right border of the dialog.

left

Position from the left border of the dialog.

bottom

Position from the bottom border of the dialog.

width

Button width.

height

Button height.

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 .

NOTE

This button supports the state attribute selector, which you can use 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 dialog close button that is 28 x 28 pixels, positioned 5 pixels from the top and right edge of the info panel dialog, and displays a different image for each of the four different button states.

.s7ecatalogsearchviewer .s7infopanelpopup .s7closebutton {
 width: 28px;
 height: 28px;
 top: 5px;
 right: 5px;
}
.s7ecatalogsearchviewer .s7infopanelpopup .s7closebutton[state="up"] {
background-image:url(images/v2/InfoPanelPopup_CloseButton_dark_up.png);
}
.s7ecatalogsearchviewer .s7infopanelpopup .s7closebutton[state="over"] {
background-image:url(images/v2/InfoPanelPopup_CloseButton_dark_over.png);
}
.s7ecatalogsearchviewer .s7infopanelpopup .s7closebutton[state="down"] {
background-image:url(images/v2/InfoPanelPopup_CloseButton_dark_up.png);
}
.s7ecatalogsearchviewer .s7infopanelpopup .s7closebutton[state="disabled"] {
background-image:url(images/v2/InfoPanelPopup_CloseButton_dark_up.png);
}

On this page