Another question for you guys. Let me first explain that I am adding javascript files the way I think they are supposed to be added, by putting them in my template file using drupal_add_js
. However, a couple of my files don't seem to be firing correctly. I should note that I am wrapping everything with (function ($){})(jQuery);
. Funny thing is, is when I add them to header, the ones causing me the issue's don't fire. But when I add them to the footer through the html.tpl.php file under a new jquery file they fire perfect. It is almost like they are getting lost among all of the js files added by Drupal.
Is there any way to add my files above Drupal's files under right under the jquery file?
scripts[] = js/script.js
– Aboodred1 May 9 at 23:30