collective.fancybox (0.5.1)
- collective.fancybox download link: http://plone.org/products/collective.fancybox/releases
- Homepage of collective.fancybox: http://pypi.python.org/pypi/collective.fancybox
Simple package which makes fancybox available in portal_javascript. This package does not change nor define any view or templates. It basically does nothing from the user point of view. It is usable for template developers to avoid several fancybox libraries registered from different products.
Usage
Fancybox requires custom invocation of the library. You must write custom javascript which binds fancybox code to particular tag. Define your own JS file, register it (portal_javascripts, javascript_head_slot) and use jQuery syntax to bind fancybox to the tags:
jq(function() {
jq("a.fancybox").fancybox();
});
More detailed configuration may be passed as arguments of fancybox() function. Please read http://fancybox.net/howto chapter 4 - Fire plugin using jQuery selector and Available options.