Start a new discussion

To start a new discussion please visit the discussions section of the GitHub home page of the project.

Discussions on GitHub

You can also search our old self-hosted forums for any useful information below but please note that posting new content here is not possible any more.

Having trouble with the jquery-loader Var Path= link

Home Forums Older releases 0.9.x Having trouble with the jquery-loader Var Path= link

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1260
    jackson2275
    Participant

    Hi,
    I’m having trouble with the Smartmenu functioning on any page that’s not at the same level as the root. I know it’s the var path = ‘../jquery/jquery.js’; in the jquery-loader.js file.

    I’ve tried using the direct link on each page instead of the loader script, but that didn’t work for me:

    I’ve also tried adjusting the Var Path to: var path = ‘/jquery/jquery.js’;
    so that it begins at the root level, but that didn’t work for me.

    Here is the location of the testing server that my site is on:
    http://ecbiz135.inmotionhosting.com/~dahlec5/Dahle14/

    Any help would be greatly appreciated.
    Chris

    #1661
    admin
    Keymaster

    Hi,

    Just don’t use the loader script. It’s used on the default demo to allow easy testing against different jQuery versions. So on your home page:

    http://ecbiz135.inmotionhosting.com/~dahlec5/Dahle14/

    use this:

    <!-- jQuery -->
    

    In sub directories like here:

    http://ecbiz135.inmotionhosting.com/~dahlec5/Dahle14/products/sharpeners/HandHeld.htm

    use this:

    <!-- jQuery -->
    

    and so on… Just like what you are currently doing for the “jquery.smartmenus.js” file.

    Cheers!

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘0.9.x’ is closed to new topics and replies.