DFrameStyle : setContentBgImage

DFrameStyle : setContentBgColor

DFrameStyle.setContentBgImage: Set the background image for the page inserted in the DFrame with the setURL method.

DFrameStyle.setContentBgColor: Set the background color for the page inserted in the DFrame with the setURL method.

Syntaxes

DFrameStyle.setContentBgImage(filePath)

DFrameStyle.setContentBgColor(color)

Parameters

filePath

setBgImage and setContentBgImage methods. See the filePath paragraph in Styles

color

§         the color, in browser compatible format (hexa RGB or color code)

§         '' (empty string) or false: No color is set to the content document.

§         null: The color of the content document is set to transparent. To be used if there is a contentBgImage

Comment

When a DFrames has a page inserted with the setURL method the setBackgroundColor has no effect: Alle the DFrame is 'covered' by Bars and the inserted page.

Exception: if some Bars have the setAutoWidth('CONTENT') they have not the width/height of the DFrame and some part of the DFrame remains visible.