function shadowbox_add_js in Shadowbox 6.3
Same name and namespace in other branches
- 6.4 shadowbox.module \shadowbox_add_js()
1 call to shadowbox_add_js()
- shadowbox_construct_header in ./
shadowbox.module - Build the Shadowbox header by adding the necessary CSS and JS files.
File
- ./
shadowbox.module, line 420 - Shadowbox, a JavaScript media viewer application for displaying content in a modal dialogue.
Code
function shadowbox_add_js($file) {
drupal_add_js(drupal_get_path('module', 'shadowbox') . '/' . $file);
}