Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

jquery loading

  • Goauls
  • Goauls's Avatar Topic Author
  • Offline
  • New Member
More
14 years 11 months ago - 14 years 11 months ago #30827 by Goauls
jquery loading was created by Goauls
Why sig using this in popup.php:
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("jquery", "1.3.2");</script>

instead of direct link on local, like:
<script type="text/javascript" src="'.$popupPath.'/jquery-1.3.0.min.js"></script>

Wouldnt be faster if js loaded from local? Can any explain why used google to load it?

Please Log in or Create an account to join the conversation.

More
14 years 11 months ago #30828 by Katia
Replied by Katia on topic Re: jquery loading
It is a lot faster to load jQuery from Google's servers... Google "google ajax libraries" to learn more.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Goauls
  • Goauls's Avatar Topic Author
  • Offline
  • New Member
More
14 years 11 months ago #30829 by Goauls
Replied by Goauls on topic Re: jquery loading
thnx, u can close this topic.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum