Grow your CSS skills. Land your dream job.

Magento Go and jQuery Problem

  • # October 1, 2012 at 11:18 am

    After following the instructions here:( http://go.magento.com/support/kb/entr… ) I still haven’t been able to get the jQuery Cycle plugin to function.

    Demo site is: ( http://lilyjewelers.gostorego.com/ )

    After trying everything I could think of I’m still getting the following errors from firebug:

    1) $("#nav1").cycle is not a function
    next: '#next', prev: '#prev'
    lilyje...ego.com (line 225)

    2) $(".slideshow").cycle is not a function
    ...ger: '#slidenav', speed: 600, timeout: 5000, pause: 1, cleartype: true, clearty...
    lilyje...ego.com (line 217)

    Thank you!
    CM

    # October 1, 2012 at 1:13 pm

    You should be including the cycle.js file *after* jQuery.

    # October 1, 2012 at 5:18 pm

    Yep! I think that is it but….

    sad I’m frustrated
    Edit
    Delete
    Don Keller less than a minute ago
    Okay…
    I’m pretty sure it is a load order problem. The jquery plugin was loading before the jquery library. So, per instructions at (http://go.magento.com/support/kb/entr…) I added —var j172 = jQuery.noConflict(true);— to the end of the jquery library 1.7.2 and uploaded it via the javascript editor.

    I’ve also wrapped my jquery script with:

    The order seems to be correct now but I’m getting these errors:

    ReferenceError: Can’t find variable: j172 http://lilyjewelers.gostorego.com/:219
    ReferenceError: Can’t find variable: j172 http://lilyjewelers.gostorego.com/:226

    Any ideas?

    # October 1, 2012 at 5:20 pm

    sorry about the junk copy at beginning of post:
    “sad I’m frustrated Edit Delete Don Keller less than a minute ago”

    # October 1, 2012 at 11:21 pm

    I’m not seeing those errors, but you do have a couple 404s kicking around.

    # October 2, 2012 at 8:17 am

    Got it working! The Cycle js needed to have a couple of references to

    })(jQuery);

    changed to

    })(j172);

    .

    It’s always the simple things you miss…

    Thank you,
    CM

    # March 29, 2013 at 1:19 am

    Hi can you add custom cycle jquery

    with

    })(jQuery); & })(j172);

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".