Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // $Id$
- /**
- * @file
- * Main Module
- */
- /**
- * Implementation of hook_views_api().
- */
- function views_horizontal_slider_views_api() {
- return array(
- 'api' => 2.0,
- 'path' => drupal_get_path('module', 'views_horizontal_slider') . '/includes',
- );
- }
- /* add the actual inline lightweight jquery script */
- function views_horizontal_slider_add_js() {
- drupal_add_js('jQuery(document).ready(function () { alert("Hello!"); });', array('type' => 'inline', 'scope' => 'footer', 'weight' => 5));
- }
Add Comment
Please, Sign In to add comment