-
☆ A M B ☆
- 211 Posts
Howdy, just wanted to request a very simple, yet important feature to the Gallery plugin. More specifically to the galleriffic plugin within the Gallery extra.
Currently it is hardcoded to include the script and css tags at the top of the page:
$this->modx->regClientScript($this->gallery->config['assetsUrl'].'packages/galleriffic20/js/jquery.galleriffic.js');
$this->modx->regClientScript($this->gallery->config['assetsUrl'].'packages/galleriffic20/js/jquery.opacityrollover.js');
But in some scenarios, jquery is loaded at the bottom of the page. It is my case.
It would be nice to have a switch to select either to load the resources as startup or at the EOF using:
API:regClientScript
Thanks.