Info panel popup 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:
.s7ecatalogviewer .s7infopanelpopup .s7backoverlay
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.
.s7ecatalogviewer .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.
.s7ecatalogviewer .s7infopanelpopup .s7overlay
Example - To set up 300 x 200 pixels info panel dialog box that is centered in the viewer area. It 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.
.s7ecatalogviewer .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:
.s7ecatalogviewer .s7infopanelpopup .s7closebutton
Position inside artwork sprite, if CSS sprites are used.
See also CSS Sprites.
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 box Close button that is 28 x 28 pixels and is positioned 5 pixels from the top and right edge of the info panel dialog. And finally, displays a different image for each of the four different button states.
.s7ecatalogviewer .s7infopanelpopup .s7closebutton {
width: 28px;
height: 28px;
top: 5px;
right: 5px;
}
.s7ecatalogviewer .s7infopanelpopup .s7closebutton[state="up"] {
background-image:url(images/v2/InfoPanelPopup_CloseButton_dark_up.png);
}
.s7ecatalogviewer .s7infopanelpopup .s7closebutton[state="over"] {
background-image:url(images/v2/InfoPanelPopup_CloseButton_dark_over.png);
}
.s7ecatalogviewer .s7infopanelpopup .s7closebutton[state="down"] {
background-image:url(images/v2/InfoPanelPopup_CloseButton_dark_up.png);
}
.s7ecatalogviewer .s7infopanelpopup .s7closebutton[state="disabled"] {
background-image:url(images/v2/InfoPanelPopup_CloseButton_dark_up.png);
}