Changes
Title
unchanged
How to render a view in Fancybox using ajax
Category
unchanged
How-tos
Yii version
unchanged
Tags
unchanged
fancybox, ajax, views
Content
changed
[...]
}
```
### **Step 3: Implement JS method to trigger Fancybox after Ajax update**
~~~
[jsavascript]
function afterAjax()
{
$.fancybox({
href : '#preview',
scrolling : 'no',[...]