You are here

function _shadowbox_library_add_js in Shadowbox 7.4

Same name and namespace in other branches
  1. 7.3 shadowbox.module \_shadowbox_library_add_js()

File

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

Code

function _shadowbox_library_add_js($file) {
  drupal_add_js(variable_get('shadowbox_location', SHADOWBOX_DEFAULT_PATH) . '/' . $file);
}