Closed Pico closed 11 years ago
My only issue with this, is that INCLUDEJS method adds the <script>
include of the plugin to the VERY bottom of the page, after the js script that is embedded into the page.
So that just means the function is being called before the plugin is actually loaded. It seems to work, but it makes me nervous to call a plugin-function before the plugin has actually been defined, which is why I was doing it the way I had it.
Instead of using path to javascript, it's better use built-in function. It moves js file after jquery, core in the template.