You are here

function fancybox_insert_content in fancyBox 7.2

Same name and namespace in other branches
  1. 6 fancybox.module \fancybox_insert_content()

Implements hook_insert_content().

File

./fancybox.module, line 422
Provides the fancyBox jQuery plugin, a tool that offers a nice and elegant way to add zooming functionality for images, html content and multi-media on your webpages, and an extensive settings page for configuring fancyBox settings and how fancyBox…

Code

function fancybox_insert_content($item, $style, $widget) {
  list($item['module_name'], $item['style_name']) = explode('__', $style['name'], 2);
  return theme('fancybox_insert_image', array(
    'item' => $item,
    'widget' => $widget,
  ));
}