I would like to change the order of my javascript files, and specifically move the jwplayer.js file so that it gets included after the jquery_ui*.js files. Does anyone know how to do this? I see how to do this in Drupal 7, using hook_js_alter()
. But I do not see how to do this in Drupal 6.
UPDATE: Here is some more information on my setup, that might be relevant: - I call drupal_add_js('jwplayer.js') from within a custom views template. The template adds jwplayer.js conditionally, depending on whether the views data includes any videos.