hi everyone,
I am trying to order the sequence of javascripts (both external files with custom scripts) however my custom scripts seem to always get included after the external scripts.
this:
Requirements::javascript('themes/XYZ/javascript/jquery-1.3.2.min.js');
Requirements::javascript('themes/XYZ/javascript/jquery.jfeed.js');
Requirements::customScript(<<<JS
var categories = new Array();
...
JS
);
Requirements::javascript('themes/XYZ/javascript/homepageControls.js');
comes out like this:
<script src="javascript/jquery-1.3.2.min.js" type="text/javascript" />
<script src="javascript/jquery.jfeed.js" type="text/javascript" />
<script src="javascript/homepageControls.js" type="text/javascript" />
<script type="text/javascript"> (custom script)
any ideas on how to get the custom scripts before the external javascript?
thanks alot,
-Chris