54 $this->width = $a_val;
72 return "./Services/UIComponent/Lightbox/js/Lightbox.js";
87 $a_tpl->addJavaScript(self::getLocalLightboxJsPath());
99 $tpl =
new ilTemplate(
"tpl.lightbox.html",
true,
true,
"Services/UIComponent/Lightbox");
100 $tpl->setVariable(
"LIGHTBOX_CONTENT",
"");
104 $tpl->setVariable(
"WIDTH",
"width: ".$this->
getWidth().
";");
setWidth($a_val)
Set width.
static getLocalLightboxJsPath()
Get local path of jQuery file.
special template class to simplify handling of ITX/PEAR
if(isset($_FILES['img_file']['size']) && $_FILES['img_file']['size'] > 0) $tpl
__construct($a_id)
Constructor.
addLightbox($a_tpl=null)
Init lightbox.