class LayerLink extends ImageLink {
protected $maxzoom_default = 4;
- public $defaultZIndex = 31;
+ public $defaultZIndex = 30;
public function ignore() {
return parent::ignore() || $this->isOutsidePage();
public $gamifyCoins = 0;
public $tooltipColor = null;
public $tooltipBackgroundColor = null;
+ public $transition;
protected $role = 'button';
protected $_init;
public function getAdditionnalContent() {
$res = parent::getAdditionnalContent();
$this->close_button = $this->close_button ?: 'none';
- $res .= ' data-showmode="' . $this->target . '" data-showclose="' . $this->close_button . '" data-showid="' . $this->to . '"';
+ $res .= ' data-showmode="' . $this->target . '" data-showclose="' . $this->close_button . '" data-showtransition="' . ($this->transition ?: 'fadein') . '" data-showid="' . $this->to . '"';
return $res;
}
}