You are here

function shadowbox_library_add_css in Shadowbox 6.4

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

File

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

Code

function shadowbox_library_add_css($file) {
  drupal_add_css(variable_get('shadowbox_location', SHADOWBOX_DEFAULT_PATH) . '/' . $file);
}