Drupal 6: Adding CSS and Javascript from a module
Here’s how you can include javascript and/or css from a module. If you’d like to include the files on every page load, you can put this code snippet in your hook_init().
Here’s how you can include javascript and/or css from a module. If you’d like to include the files on every page load, you can put this code snippet in your hook_init().