public function getAdditionnalContent()
{
$res = parent::getAdditionnalContent();
+ if ($this->backgroundColor) {
+ $res .= 'data-tooltip-background="' . $this->backgroundColor . '" ';
+ }
+ if ($this->color) {
+ $res .= 'data-tooltip-color="' . $this->color . '" ';
+ }
$res .= ' data-tooltip-maxwidth="' . $this->compiler->book->parametres->linkTooltipMaxWidth . '" ';
$res .= ' data-tooltip-touch="1" ';
return $res;
{
public function getDepth()
{
- if( $this->compiler->book->parametres->inlineSlideshowLibrary==='dummy'){
- $this->defaultZIndex=30;
+ if ($this->compiler->book->parametres->inlineSlideshowLibrary === 'dummy') {
+ $this->defaultZIndex = 30;
}
return parent::getDepth();
}