Source for file LThickboxLink.php
Documentation is available at LThickboxLink.php
* @license http://opensource.org/licenses/mozilla1.1.php Mozilla Public License
* @copyright 2005, diemeisterei GmbH. All rights reserved.
* @author $Author: schmunk $
* @version $Revision: 1 $ $Date: 2006-06-01 15:11:24 +0000 (Do, 01 Jun 2006) $
* @package Phundament.Components
* @subpackage WebControls
* @package System.Web.UI.WebControls
public function onInit($param)
$jQueryJs = $this->publishAsset("LImage/support/jquery-1.0.2-JQ.js");
$thickboxJs = $this->publishAsset("LImage/support/thickbox-JQ.js");
$thickboxCss = $this->publishAsset("LImage/support/thickbox.css");
$scriptMgr = $this->getPage()->getClientScript();
$scriptMgr->registerScriptFile('LThickBoxLink:jQueryJs', $jQueryJs);
$scriptMgr->registerScriptFile('LThickBoxLink:thickboxJs', $thickboxJs);
$scriptMgr->registerStyleSheetFile('LThickBox:Css', $thickboxCss);
$this->setCssClass($this->getCssClass(). " thickbox");
|