You are here

function hover_preview_library in Hover Preview for ImageCache 7

Implements hook_library().

File

./hover_preview.module, line 6

Code

function hover_preview_library() {
  $libraries['imgPreview'] = array(
    'title' => 'Image Preview',
    'website' => 'http://plugins.jquery.com/project/imgPreview',
    'version' => '0.22',
    'js' => array(
      drupal_get_path('module', 'hover_preview') . '/imgpreview.min.jquery.js' => array(),
    ),
    'css' => array(
      drupal_get_path('module', 'hover_preview') . '/hover_preview.imgpreview.css' => array(),
    ),
  );
  $libraries['imghover'] = array(
    'title' => 'ImgHover',
    'website' => 'http://code.google.com/p/jquery-image-hover/',
    'version' => '2011.05.11',
    'js' => array(
      drupal_get_path('module', 'hover_preview') . '/jquery.imghover.js' => array(),
    ),
  );
  return $libraries;
}