How to render a view in Fancybox using ajax

Comparing #7 with #9

Content

[...]
Yii::app()->clientScript->scriptMap['*.js'] = false;
$this->render('view',array('value'=>'data'));
}
```

### **Step 3: Implement
s JS method to trigger Fancybox after Ajax update** ~~~ [jsavascript]
function afterAjax()
{
$.fancybox({
href : '#preview',
scrolling : 'no',
[...]