You are here

function dynamic_banner_init in Dynamic Banner 7

Implements hook_init(). Will add the js and css files to display on anypage that the banner block is on

File

./dynamic_banner.module, line 31
Distributed under GNU GPL version 3

Code

function dynamic_banner_init() {
  drupal_add_css(drupal_get_path('module', 'dynamic_banner') . '/css/banner.css');
  drupal_add_js(drupal_get_path('module', 'dynamic_banner') . '/js/banner.js');
}