Jquery not working

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
6/11/2009 1:43:01 AM
Gravatar
Total Posts 9

Jquery not working

Hi!

I´m using Mojoportal 2.3.0.4 running on an intranet and i can´t get Jquery widgets working. I have made the changes described on this site to get jquery and yui to load from the server instead of downloading them from google. YUI is working fine but when i try to add a jquery widget, it won´t work. I´m usin Jquery 1.32.

6/11/2009 1:57:25 AM
Gravatar
Total Posts 9

Re: Jquery not working

i noticed that i don´t have a "ClientScript/jqueryui16b/" folder. Could this be the problem? If so, where can i get a hold of the original content of that folder?

6/11/2009 5:17:41 AM
Gravatar
Total Posts 18439

Re: Jquery not working

Hi,

This document should have the information you need about configuring jquery and YUI on private networks:

http://www.mojoportal.com/intranets-and-private-networks.aspx

Hope it helps,

Joe 

6/11/2009 8:05:36 PM
Gravatar
Total Posts 245
mojoPortal Community Expert

Re: Jquery not working

Hi Joe

I just downloaded and set this up because in a few weeks I'll be roughing it at a cottage for 3 weeks with the wife and dog and NO Internet.  AAHHHhhh...  Thank god I'll have BEER!

Question...  Does self hosting the YUI and jQuery files give a hosted Site a noticable performance boost?

Rick Hubka

6/12/2009 5:54:05 AM
Gravatar
Total Posts 18439

Re: Jquery not working

I don't think it gives a performance boost to host the files yourself. Its possible on a good server that they might load faster from your site than google, but in many cases that will not be true. Using a cdn takes some load off of your server since it does not serve those files therefore it has additional capacity for other requests. Also, the js/css gets cached by the browser so if the user has already visited any site that uses these files from the google CDN then the user likely already has it in cache so performance is even better. Whether self hosted or not these files get cached and are typically only loaded on the first visited page. If serving from yuor own site it will always load the js/css the first page and should generally cache it after that, but using the CDN you get the same benefit on a first visit to your site if the user has visited another site using the google CDN for these files.

You may percieve a perfomance boost running mojo from localhost because local files will serve faster on the machine than files coming from the internet. On production internet sites I don't think you'll notice generally but its a good practice when possible to use the CDN.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.