Access is denied to jquery.min.js and mojotab distortations on page

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
12/7/2010 11:34:14 AM
Gravatar
Total Posts 33

Access is denied to jquery.min.js and mojotab distortations on page

The mojoportal site works perfectly fine on most of firefox and few other browsers or atleast most part of it. However in some IE browsers and in some instances of firefox situations the mojotabs class doesn't render properly.  Instead of showing the tabs, the list items are stripped off the user interface and just the list items are shown one line each like

  • Tab1
  • Tab2
  • Tab3
  • Tab4

Which actually should have been

Tab1          Tab2              Tab3           Tab4

enclosed nice blue mojo tabs

Am not sure if this has to do with the below error that I see on IE which is in loading jquery.min.js.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET CLR 1.1.4322; InfoPath.2; .NET4.0E)
Timestamp: Tue, 7 Dec 2010 17:24:38 UTC


Message: Access is denied.

Line: 137
Char: 349
Code: 0
URI: http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js

 

12/8/2010 10:15:30 AM
Gravatar
Total Posts 18439

Re: Access is denied to jquery.min.js and mojotab distortations on page

That can happen if the client machine does not have internet access. You could host the jquery files locally instead of loading them from the google cdn.

http://www.mojoportal.com/self-hosting-jquery-and-jquery-ui-files.aspx

12/8/2010 12:59:54 PM
Gravatar
Total Posts 33

Re: Access is denied to jquery.min.js and mojotab distortations on page

Thanks Joe. If I were to give rating on the net about the best technical support, I would give you and mojoportal the very top 1 position. You are amazing in providing the support.

Focusing back on the question, as you said, the client is on intranet. But the client can access internet as well. One thing be noted is the other content on the same page is accessible but not just these mojotabs are stripped. Surprisingly the accordion works and not the mojotabs. The difference in the usage of these two are that, the accordion was added through the default html user control whereas, the mojotabs are added in the code in custom user(module) control. Do you think we have to do some thing when using mojotabs on custom module/user control in the code. May be specifically adding the jquery.min,js on to the custom module?

Adding another dimension to it, the same client when uses mozilla firefox it looks good but the problem persists on IE.

In the mean time, I will try with the suggestions, you have provided in the link to host the jquery locally. What is your thought on the performance hit if we were to host the jquery locally on the server?

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