fancybox FancyBox is a tool for displaying images, html content and multi-media in a Mac-style "lightbox" that floats overtop of web page

  1. Version 1.6 avaliable for download.
  2. Donate
  3. Documentation
  4. Try others combinations. See configuration parameters bellow.
  5. Parameters you could set on EFancyBox
  6. Goto Fancy Box website to check fancy box jquery plugin configuration parameters.
  7. Change Log

Version 1.6 avaliable for download.

Yii version of fancybox extension.

Resources

Donate

Documentation

Requirements
  • Yii 1.0 or above
Installation
  • Extract the release file under protected/extensions
  • Put the below code into your views
Usage

See the following code example:

$this->widget('application.extensions.fancybox.EFancyBox', array(
	'target'=>'a[rel=gallery]',
	'config'=>array(),
	)
);

Try others combinations. See configuration parameters bellow.

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 http://gsgd.co.uk/sandbox/jquery/easing/. Defaults set to false.
config          =   @array, configuration parameters of fancy box plugin. Defaults set to basic fancy box configuration.

Goto Fancy Box website to check fancy box jquery plugin configuration parameters.

Change Log

July 16, 2010
  • Initial release.
August 5, 2010
  • CFancyBox changed to EFancyBox to prevent incompatibility with Yii core classes.
  • Class core code rewrited.
  • Added JQuery Easing Plugin.
February 16, 2011
  • Fancybox assets updated to last version 1.3.4
  • Implemented solution for multiple instances of fancybox on page.
  • Code commented.
March 16, 2011

Fixed bug, $this->add to $this->id. Fixed link on extension description.

41 0
54 followers
12 020 downloads
Yii Version: 1.1
License: GPL-3.0
Category: User Interface
Tags:
Developed by: thiagovidal
Created on: Jul 16, 2010
Last updated: 13 years ago

Downloads

show all