Where is it best advised to include JavaScript and CSS files, in the case you have a theme and a sub-theme? Does it have the same effect when you use those files from a .info file, a template file, or a module?
For JavaScript files, the files are being grouped by where they are called from. Below is the order in which they are called.
.info
files)See the description for $options
given in drupal_add_js().
For CSS files, there are three groups too.
See the description for $options
in drupal_add_css().