groups/themes/openstack/js
Marton Kiss 993414fa85 Openstack theme
Replace Drupal Commons by Openstack theme.

Change-Id: Ifc18969c3e089aa1ff11a3d98daac1442b444bef
2013-10-24 16:34:47 +02:00
..
README.txt Openstack theme 2013-10-24 16:34:47 +02:00
script.js Openstack theme 2013-10-24 16:34:47 +02:00

Your theme can add JavaScript files in two ways:

1. To add a JavaScript file to all pages on your website, edit your sub-theme's
   .info file and add a line like this one:

     scripts[] = js/my-jquery-script.js

2. To add a JavaScript file depending on a certain condition, you can add it
   using some PHP code in a preprocess function:

     drupal_add_js(drupal_get_path('theme', 'THEME_NAME') . '/js/my-jquery-script.js', array('group' => JS_THEME));

   For the full documentation of drupal_add_js(), see:
     http://api.drupal.org/api/function/drupal_add_js