31 $this->tpl = $DIC->ui()->mainTemplate();
62 $this->width = $a_val;
80 return "./Services/UIComponent/Lightbox/js/Lightbox.js";
94 $a_tpl->addJavaScript(self::getLocalLightboxJsPath());
106 $tpl =
new ilTemplate(
"tpl.lightbox.html",
true,
true,
"Services/UIComponent/Lightbox");
107 $tpl->setVariable(
"LIGHTBOX_CONTENT",
"");
110 $tpl->setVariable(
"WIDTH",
"width: " . $this->
getWidth() .
";");
special template class to simplify handling of ITX/PEAR
setWidth($a_val)
Set width.
static getLocalLightboxJsPath()
Get local path of jQuery file.
__construct($a_id)
Constructor.
addLightbox(\ilGlobalTemplate $a_tpl=null)
Init lightbox.