Difference between #7 and #9 of
How to render a view in Fancybox using ajax

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

[...]
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',
[...]
4 0
14 followers
Viewed: 31 589 times
Version: 1.1
Category: How-tos
Written by: rix.rix.
Last updated by: 张 迪
Created on: Jul 23, 2012
Last updated: 12 years ago
Update Article

Revisions

View all history