Can't get jQuery Cycle to work in Amazon Webstore

I'm running around in circles trying to figure out why I can't get jQuery Cycle to work in our Amazon store. jQuery seems to be working fine, as I can run commands from the console, but any time I try to call .cycle(), i get a "*.cycle() is not a function" error. I've used cycle on several other websites with no problems, but this has completely confounded me.

Here's a link to a very basic test page with a Cycle instance that I can't get to work:

Amazon's code is a complete mess, so it could have something to do with stuff on the page being non-compliant, I don't know. ANY help would be appreciated.

-------------Problems Reply------------

Your script tag is pointing to the wrong URL:

But cycle is located off your root:

So change the script tag to use a root-relative path and it should work as expected:

<script src="/images/jquery.cycle.min.js" type="text/javascript"></script>

The path to your cycle plugin isn't correct, this results in a 404:

<script type="text/javascript" src="images/jquery.cycle.min.js"></script>

Looks like this isn't the right URL:

Category:javascript Views:0 Time:2010-08-18

Related post

  • Beyond stumped; Odd JQuery Cycle behavior in IE 2009-01-28

    I'm using the JQuery Cycle Plugin in an attempt to fade in/out images for a slide show. I am able to get it working in Firefox and Safari, however, when I view in Internet Explorer, I see very unexpected behavior. In Internet Explorer, the cycling is

  • Nested jQuery Cycle? 2009-02-17

    I am trying to build a slide show with jQuery cycle plug in. In the slide show there are contents and inside the contents there is basic image gallery. Timeout of cycle which image gallery uses is fewer than the contents timeout. So content waits for

  • jQuery Cycle plugin z-index float problem 2009-05-18

    When I try to place an element on top of my jQuery Cycle element, it doesn't work. The element is always behind the jQuery cycle element. I use float: right; to position the element, and set its z-index to 100000, to no avail. Firebug sees the Cycle

  • How to: jQuery cycle lite plugin (image rotator plugin) manually set images by ID 2009-05-26

    Hello I am using jQuery cycle lite plugin (image rotator plugin), and I want to use the middle example (click triggers) but instead of setting the IDs of the prev and next button, I'd like to manually set the image ID. My aim is to have a list of thu

  • JQuery cycle plugin with different effect on next and previous 2009-06-16

    Using JQuery cycle, is it possible to have different effects on the next and previous buttons? For example, have the next button scroll left and previous button fade? I know about the scrollHorz effect for left and right scrolling. Thanks -----------

  • jQuery Cycle in an horizontal scrollable div: IE problem 2009-06-23

    I've a problem in IE 6 and 7 with a Cycle slideshow embed in a horizontal scrollable div. I've used this technique ( ) to create the horizontal scrollable div. I would embed

  • jQuery cycle plugin, centering image in div 2009-06-28

    I'm looking to use the JQuery cycle plugin to cycle through a set of images. All of the images are different sizes and I'd like them to all be centered inside the container "slideshow" DIV and use the "Fade" transition, rather than the default top le

  • jQuery Cycle Plugin with typewriter transition effect 2009-07-09

    Wondering if anyone knows how to achieve a typewriter effect with the jQuery Cycle plugin. See here for desired effect: Thanks. Dave --------------Solutions------------- Try using Cycle's after and

  • jquery cycle IE7 transparent png problem 2009-07-21

    I'm having trouble getting jquery cycle to work when I have transparent png files in IE7 It's fine in Firefox and Chrome but in IE (version 7) I get a black colour where the png transparency is during the fade. Can this be made to work right? -------

  • Linking jQuery Cycle Pager element 2009-07-25

    I am using jQuery Cycle plugin with pagers. I need to have navigation functionality, where I can provide a link to my client and he can browse that page which is a projects gallery. I need the cycle plugin to show a particular slide. Maybe variables

  • jQuery Cycle Plugin Breaks in IE6 with background image 2009-07-30

    I'm using the jQuery Cycle plugin along with the tutorial here: Net Tuts tutorial "building-an-auto-scrolling-slideshow-that-works-with-and-without-javascript" It all works good if I give my containing <div> a background color, but as soon as I

  • jquery Cycle Plugin 'goto' issue 2009-07-30

    I am trying to figure out what is wrong with this code, I need to manually target slides from within the slide it self but the click functions are not working. $('#signup-content').cycle({ fx: 'scrollLeft', timeout: 0, speed: 300, prev: '#previous',

  • jquery cycle: return to the first slide 2009-08-04

    The slideshow can be stoped by: $(this).cycle('stop'); Or it can be paused by: $(this).cycle('pause'); But how can I stop/pause the slideshow and return to the first slide at the same time? --------------Solutions------------- just define it eg: $(th

  • jQuery Cycle Plugin - gaps between transitions in IE7 2009-08-06

    I am using the jQuery Cycle plugin and having trouble with gaps between the images when there should be smooth fade in/out transitions. This only happens in IE7. I have seen the earlier postings about nesting the images in other elements to mask the

  • Jquery Cycle Questions: Pause on load + Hover Action 2009-08-17

    Hey Guys, building a site and I've got two questions for you. The site is hosted here for the time being: . I have two questions: 1. Currently the slideshow rotates divs with the class of .slide that holds the

  • CSS background image disappears in IE (6, 7, 8) after running jQuery .cycle() 2009-08-19

    I have the following HTML: <div id="similar-products" class="box small"> <div class="product"> <h3><a href="#">Lorem ipsum 1</a></h3> <p class="figure"><img src="_img/thumb/blah.png" alt=""></p>

  • Jquery Cycle with thumb pager issue 2009-09-21

    I'm trying to create a slideshow with the jquery cycle plugin. I'm trying to have it so that thumbs for the slide show are auto generated from the main images. I am also trying to have the ability to show both images that link out to other sections,

  • Is sIFR 3 compatible with the jQuery Cycle Plugin? 2009-09-21

    I am a newbie and I have been struggling with this for awhile. I am try to create a scrolling div using the jQuery Cycle Plugin with sIFR 3 text within the scrolling div. I can get it to work properly in Firefox and that's about it. Any suggestions o

  • jQuery .cycle() is invisible in Webkit browsers [Safari / Chrome] on first load (after refresh everything works fine!) 2009-10-08

    I'm using jQuery cycle to implement a slideshow effect. You can click on any slideshow image to slide to the next one. This works fine in all browsers. Only in Safari, something really weird happens. Upon the first page load, no slideshow images are

Copyright (C), All Rights Reserved.

processed in 0.132 (s). 11 q(s)