0

Most tutorials for jQuery recommend loading javascript before the closing body tag so that the rest of the page can load first. However the Zen theme (im not sure about others) doenst do this. Why is this the case?

0

Some contrib modules only work correctly if jQuery and other scripts are in <head>.

Check out the Magic module or the AdvAgg module, which gives you greater control over how CSS and JS files are handled in your theme.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.