I've written a javascript that for some reason whenever I run it, it removes any hover events. Since I am running my site with nice menus I would like to run my script as high up in the $script array as possible.
I added this line to the template.php:
drupal_add_js('sites/itascacg.com/themes/custom/icg/js/fixtitles.js',array('type' => 'file', 'weight' => -19));
since according to the documentation I've read jQuery itself is at weight -20, but no matter what weight I give my script i won't float any higher on the list.
does anybody have anybody have any ideas how to push my script up, or at worst push all the other scripts down?
P.S. I'm using drupal 7