FancyBox

FancyBox

  • Quickly implement the Fancybox effect
  • Beautiful Lightbox effect
  • Minimal coding required

FancyBox is a combination of JavaScript, CSS and some images that allow you to create a modal effect using the JavaScript framework jQuery. This Joomla! plugin integrates FancyBox in your favorite CMS Joomla!.

Cost See subscription packages
Current version 1.3.8 (Stable)
Requirements Joomla 3.0 - Joomla 3.4
PHP 5.4 or higher
PHP 5.4.0 or higher
Download Login to access this download
Support Support Forum
License GNU/GPL (General Public License)

Getting started

  • Install the plugin in the Extension Manager
  • Enable the plugin in the Plugin Manager
  • Prepare your HTML code with the HTML class "lightbox"
  • Add the HTML class "lightbox" to the plugin configuration

About FancyBox

FancyBox is written and maintained on the website fancyapps.com. All credits go to the original creators of FancyBox. If you like FancyBox, you can donate. Please do not donate to us, but to creators of FancyBox instead.

All work of FancyBox itself is the work of Janis Skarnelis, and holds his copyright.

Free for non-commercial use

Note that the license of the Fancybox v2 library (included with our plugin-version 1.3.0 and later) is free for non-commercial use. If you want to use Fancybox as a company, you are asked to pay a fee. See the Fancybox project site for more details.

Yireo requires you no additional fee to run Fancybox in Joomla!.

Why FancyBox?

The main reason for us to integrate FancyBox in a Joomla! plugin, is to offer a simple Lightbox-like effect for MageBridge, our bridge extension that integrates Magento in Joomla!. As an effort to bypass JavaScript-conflicts between MooTools and ProtoType, a third framework - jQuery - is introduced which does not conflict with neither MooTools nor ProtoType. jQuery is loaded in the compatibility mode.

So, the FancyBox was primarily designed to work with MageBridge, but it might serve other purposes as well.

Usage

Basic parameters

The plugin is ment for webdesigners and therefor requires knowledge of HTML. Within the plugin parameters you can find the following options:

  • HTML elements: List of elements that Fancybox should be applied on (required)
  • Hide on click: When enabled, the Fancybox modal box can be closed through a mouse-click (optional)
  • Enable mousewheel: When enabled, you can scroll the Fancybox modal box with the mousewheel (optional)
  • Transition: Which effect to apply on the appearance of the modal box (optional)
  • Speed: Which speed to apply on the appearance of the modal box (optional)

Instead of relying on specific HTML markup like a rel-attribute (which is used by many other modal effects), the FancyBox plugin allows you to configure specific HTML elements. You'll need to review your own HTML source-code to see which elements should be identified. In most cases, the FancyBox-effect needs an anchor-tag with a title and a link to be activated:

a.lightbox, a.product_image, a#my_image, a.simplelists_link, a[rel=lightbox]

For each element, a new jQuery-line is added to the source-code of the page.

Advanced parameters

Within the plugin settings, you can also find the following advanced parameters:

  • Options: Textarea allowing you to add additional parameters. Options are in the form of padding=20.Each option is a comma-seperated value.
  • Use Google API: Use the Google network to serve the jQuery library
  • Load CSS: Disable this, if you want to include the Fancybox CSS in your own template instead
  • Load jQuery: Disable this, if jQuery is already loaded by another extension
  • Load Fancybox, Mousewheel, Easing, etc: Disable this, if this feature is already loaded by another extension
  • Exclude components: List of components that Fancybox should not be applied on
  • jQuery namespace: Set to $j by default. Modify this, if this plugin conflicts with another jQuery-enabled
  • Content-type: Allowing you to load AJAX, movies and such as well


Programming Joomla Plugins book

Take control of your Joomla plugins

When building Joomla sites, you can fix small issues with plugins. If a plugin does not fit your needs, instead of searching for another plugin, why not fix things yourself? This is what open source is about.

With our Programming Joomla Plugins book, you get insight into plugins & events. You learn how plugin code works, so that you can insert your own tricks. Coding is fun. And this book shows it is not that hard to get started!

Get your book now

More extensions

GoogleTranslate

GoogleTranslate

Translate content in backend using GoogleTranslate API
TweetScheduler

TweetScheduler

Post social notifications on your Joomla content with some delay
Google Optimizer

Google Optimizer

Add Google Optimizer to your Joomla site and start optimizing conversion