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)
  • You must be logged in to reply to this topic.

Register

You will be emailed a link to set your password.

Login

Lost password?