return parent::getHTMLContainerClass() . ' contentLink';
}
+ public function getAdditionnalContent()
+ {
+ $res = parent::getAdditionnalContent();
+ $animation = trim($this->image_rollover);
+ if ($animation != '') {
+ $variables = [];
+ $lines = CubeIT_Text::splitLines($animation);
+ foreach ($lines as $line) {
+ $e = explode('=', $line);
+ $variables[trim($e[0])] = trim($e[1]);
+ }
+ $res .= ' data-animation="' . htmlspecialchars(json_encode($variables), ENT_QUOTES) . '" ';
+ }
+ return $res;
+ }
}
class eventOverlayLink extends wsHTML5Link