0
им пытаются получить работу простых всплывающих окон, образуют примеры, но ни один не работают ..Atk4 и всплывающее окно с примеров
Использование 4.3.0.dev.
Пытался здесь: http://book.agiletoolkit.org/views/popover.html
$i = $this->add('Icon')->set('window');
$pop = $this->add('View_Popover');
$pop->add('HelloWorld');
$i->js('click', $pop->showJS());
Или здесь: http://www4.agiletoolkit.org/css/popover
//The view to click (can be any element)
$view = $this->add('View')->set('Some text');
//Popover view
$pop = $this->owner->add('View_Popover');
$pop->add('View')->set('Content to show in tooltip');
$this->on('click','#'.$view->name,$pop->showJS($this->js(null, '$(this)'),array(
'width'=>'250px',//You can specify the width of tooltip
'my'=>'left bottom',//Specify the position of the tooltip
'at'=>'left+5 bottom-25',//Specify the margins
'class' => 'atk-popover atk-popover-bottom-left',//Specify where to show
)));
На обоих примерах я получаю сообщение об ошибке: Js
Uncaught Error: cannot call methods on dialog prior to initialization; attempted to call method 'open' jquery-2.0.3.min.js:4