Home > drop_shadow

drop_shadow

Drop_shadow is a project mainly written in JAVASCRIPT and PHP, it's free.

Drupal module to addd dropped shadows by jQuery. Soon will be uploaded to drupal.org

$Id: INSTALL.txt,v 1.1.4.1 2009/07/24 09:54:53 yhager Exp $

Drop shadow is a wrapper module around the drop shadow jQuery plugin http://plugins.jquery.com/project/DropShadow

This module also provides an API function that allows adding javascript dropShadow() commands via PHP.

For example, copy this code snippet to your custom module (change the "foo" in the function name to be your module's name).

/**

  • Implementation of hook_init().
  • Add drop shadows on the top of the message area. */ function foo_init() { // Add an example message. drupal_set_message(t('This message should have dropped shadows.'));

    $commands = array(); $commands[] = array('selector' => '.messages');

    // Add the drop shadow. drop_shadow_add_shadow($commands); }

Previous:pib