jquery extenal source?

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
4/17/2013 6:53:28 AM
Gravatar
Total Posts 118

jquery extenal source?

Hi, I have a problem with exceptions in a company firewall. I would like to bring the Jquery files locally. Is that possible? will it cause any problems? and where does mojoportal reference them?

thanks for any help. 

4/17/2013 7:26:19 AM
Gravatar
Total Posts 31

Re: jquery extenal source?

I think you could download JQuery package from their web site and put it into your local folder:  http://jquery.com/

 

4/17/2013 7:36:01 AM
Gravatar
Total Posts 18444

Re: jquery extenal source?

See the article Self Hosting jQuery and jQueryUI

​Hope that helps,

Joe

4/22/2013 10:24:50 AM
Gravatar
Total Posts 118

Re: jquery extenal source?

Thanks Joe, that's great. I've followed those instructions and after a bit of messing, the transitions all work now, slideshows etc.

However, my Superfish menu has stopped working, any ideas what I'm missing?

4/22/2013 12:45:36 PM
Gravatar
Total Posts 18444

Re: jquery extenal source?

Hi,

See the note about the new version of superfish in the Important Skin Changes article.

Hope that helps,

Joe

4/23/2013 3:47:47 AM
Gravatar
Total Posts 118

Re: jquery extenal source?

Thanks Joe, have a beer on me. 

my skin is based on the swift blue design. 

I updated changed mojosuperfish.js to mojosuperfish150.js in the scripts/scripts.js but it's still broken, is there somewhere else I should look?

to recap, all was working okay, I then brought jquery onto the same server and referenced it as suggested in Self Hosting jQuery and jQueryUI all jquery transitions are working okay except for my superfish menu, the drop down transitions dont work. 

4/23/2013 7:47:40 AM
Gravatar
Total Posts 1991

Re: jquery extenal source?

Can you share a link to your site?

Thanks,
Joe Davis

4/23/2013 7:47:42 AM
Gravatar
Total Posts 18444

Re: jquery extenal source?

Hi Dave,

Thanks for the beer!

You would make this change for superfish in the layout.master file where it references the superfish script.

That should solve it. If not use browser tools to look for any script errors or if it is failing to load any js files using  the network tab in browser tools.

This is assuming that your locally hosted jquery files are for the latest versions of both.

Hope that helps,

Joe

4/23/2013 7:50:45 AM
Gravatar
Total Posts 1991

Re: jquery extenal source?

Hi Joe,

The SwiftBlue skin uses a GetScript call in the script.js file to pull in SuperFish so he changed it in the right place. Next version of SwiftBlue will not use GetScript as we don't need to do it that way anymore.

Thanks,
Joe D.

4/23/2013 8:27:50 AM
Gravatar
Total Posts 118

Re: jquery extenal source?

Hi, 

I can't share the site as it's on an internal server I'm afraid.

I had originally downloaded the latest version of jquery (1.91.) I downloaded the 1.8.2 version (same as was being referenced by the skin on google) and the superfish menu now works. 

However my problem now is that the mojo-tabs are not appearing in page settings etc. Could this be becuase I no longer have the jquery ui theme? if so can you tell me which theme swiftblue is set to use?

I've seen the theme set in layout.master before, but that doen't seem to be the case in swiftblue.  

4/23/2013 8:59:22 AM
Gravatar
Total Posts 18444

Re: jquery extenal source?

Sounds like your jquery stuff is not configured correctly and failing to load. Again you need to use browser tools especially the network tab to find out if it is failing to load any files. Make sure you follow the intsructions carefully for self hosting the jquery files, people often miss the part about renaming the file. Once you configure to load jquery locally you need to verify that it is actually loading.

Also the notes about superfish assume that you are using the latest version of mojoPortal, the updated superfish file would not exist in older versions.

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