FancyBox is a tool for displaying images, html content and multi-media in a Mac-style "lightbox".


...requirements of using this extension (e.g. Yii 1.1 or above)...


...Extract the release file under protected/extensions

...Put the below code into your views

Usage to use this extension...

...can use code blocks like the following...

$this->widget('application.extensions.fancybox.EFancyBox', array(
echo CHtml::link('Click', '#target', array('class' => 'fancy-inline'));
echo '<div id="target" style="diplay: none;">In the name of ALLAH</div>';

...Parameters you could set on EFancyBox

id              = @string, the id of the widget.
target          = @string, the target objects, user jquery notation.
easingEnabled   = @boolean, whether to enable mouse interations. Defauts set to true.
mouseEnabled    = @boolean, whether to insert jquery easing plugin to expand transitions effects. Check Defaults set to false.
helpersEnabled  = @boolean, Optionally add helpers - button, thumbnail and/or media . Defaults set to false.
config          = @array, configuration parameters of fancy box plugin. Defaults set to basic fancy box configuration.


...external resources for this extension...

Total 4 comments

#13215 report it
Stefano Mtangoo at 2013/05/15 05:29am

Every one deserves payback for his effort, so I'm not trying to mock or anything like that. Its just I was not going to pay for my apps (I was going for alternative). Now that there MIT Lic, am definitely going to use it!

Just my opinions ;)

#13214 report it
Clem at 2013/05/15 05:22am
vs V1

I just specified Licence has changed from V1: Licensed under both MIT and GPL licenses to V2. It's not a problem to pay... if you know you have to pay.

#13212 report it
Stefano Mtangoo at 2013/05/15 05:10am

Pay for Commercial apps, no!

#13208 report it
Clem at 2013/05/14 03:16pm
Fancybox Licence

Fancybox V2 is Creative Commons Attribution-NonCommercial 3.0 license.

Leave a comment

Please to leave your comment.

Create extension