Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New to the CF scene
    Join Date
    Feb 2013
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Help with cycle jquery plugin.

    I was wondering if anyone could help me with a reccuring issue i've been having with the cycle plugin on my website, http//:winstonduke.com/waltzforlife

    I receive this error:
    Code:
    [cycle] terminating; zero elements found by selector
    I've tried nearly everything and i'm not quite sure about the root of the problem.

    Any help would be much appreciated.

  • #2
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    4,034
    Thanks
    23
    Thanked 589 Times in 588 Posts
    This http//:winstonduke.com/waltzforlife does not work. Bad link.

  • #3
    Regular Coder
    Join Date
    Mar 2008
    Location
    London
    Posts
    152
    Thanks
    4
    Thanked 42 Times in 42 Posts
    Quote Originally Posted by sunfighter View Post
    This http//:winstonduke.com/waltzforlife does not work. Bad link.
    URL correction -
    http://winstonduke.com/waltzforlife

    The JQuery cycle plugin itself tells the error -

    Code:
    /*!
     * jQuery Cycle Plugin (with Transition Definitions)
     * Examples and documentation at: http://jquery.malsup.com/cycle/
     * Copyright (c) 2007-2012 M. Alsup
     * Version: 2.9999.81 (15-JAN-2013)
     * Dual licensed under the MIT and GPL licenses.
     * http://jquery.malsup.com/license.html
     * Requires: jQuery v1.7.1 or later
     */
    And you are using jQuery v1.4 something...
    Last edited by niralsoni; 02-07-2013 at 04:01 PM.

  • #4
    New to the CF scene
    Join Date
    Feb 2013
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for the replies. I've update jquery, but now i've got a new set of errors, not entirely sure what to do now...

    Code:
    Uncaught TypeError: Cannot read property 'msie' of undefined jquery.fancybox.js:93
    Uncaught TypeError: Cannot set property 'buttons' of undefined jquery.fancybox-buttons.js:23
    Uncaught TypeError: Cannot set property 'media' of undefined jquery.fancybox-media.js:39
    Uncaught TypeError: Cannot set property 'thumbs' of undefined jquery.fancybox-thumbs.js:26
    Uncaught TypeError: Object [object Object] has no method 'cycle' script.js:7
    I've looked long and hard, i've even reuploaded the files. I also thought it might be because i'm using two versions of jquery, but if so, i cannot find the other version.

  • #5
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,950
    Thanks
    9
    Thanked 724 Times in 718 Posts
    Looks like Fancybox breaks with jQuery 1.9 - see here.

    Try loading jQuery 1.8.3 instead.
    Use the W3C HTML Validator and CSS Validator to check your code and Firebug to see what css is applied to an element
    Read Steve Krug's book Don't Make Me Think - essential reading on web usability
    I don't recommend much, but I do recommend Clook for UK web hosting

  • #6
    New to the CF scene
    Join Date
    Feb 2013
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for your help and reply that seemed to resolve some of the issues [backdating to v1.8], however i'm still now left with this error [cycle plugin].
    Code:
    Uncaught TypeError: Object [object Object] has no method 'cycle'

  • #7
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,950
    Thanks
    9
    Thanked 724 Times in 718 Posts
    I don't see that error in Firefox (just one that it's queuing the slideshow) and it seems to work OK. In what browser are you seeing that error.

  • #8
    New to the CF scene
    Join Date
    Feb 2013
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Managed to fix it, didn't add js into head. Thanks.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •