Hi,
Can someone clarify the use of
$modx->regClientStartupScript("/assets/js/some.js");
Iā tried to load
all my librairies using a plugin, but looks like it loads scripts not in the "right" order (or not at all):
For instance, the jQuery 1.4.2 + UI do not work if loaded this way, I need to put them in a classic chunck at the head section of html, as other librairies are correctly loaded and fonctiunal throught the plugin loading.
those are ok this way, but cant put jQ + UI librairies here
//<?php
global $modx;
$modx->regClientStartupScript("/assets/js/jquery.easing.1.3.js");
$modx->regClientStartupScript("/assets/js/jquery.easing.compatibility.js");
$modx->regClientStartupScript("/assets/js/jquery.fancybox-1.3.1/fancybox/jquery.fancybox-1.3.1.pack.js");
//?>
Thank you