You are here

function shadowbox_add_css in Shadowbox 6.3

Same name and namespace in other branches
  1. 6.4 shadowbox.module \shadowbox_add_css()
1 call to shadowbox_add_css()
shadowbox_construct_header in ./shadowbox.module
Build the Shadowbox header by adding the necessary CSS and JS files.

File

./shadowbox.module, line 416
Shadowbox, a JavaScript media viewer application for displaying content in a modal dialogue.

Code

function shadowbox_add_css($file) {
  drupal_add_css(drupal_get_path('module', 'shadowbox') . '/' . $file);
}