CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   JavaScript frameworks (http://www.codingforums.com/forumdisplay.php?f=62)
-   -   Help with cycle jquery plugin. (http://www.codingforums.com/showthread.php?t=287159)

windukku 02-06-2013 11:12 AM

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.

sunfighter 02-07-2013 03:20 PM

This http//:winstonduke.com/waltzforlife does not work. Bad link.

niralsoni 02-07-2013 03:54 PM

Quote:

Originally Posted by sunfighter (Post 1311690)
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...

windukku 02-08-2013 12:27 PM

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.

SB65 02-08-2013 01:12 PM

Looks like Fancybox breaks with jQuery 1.9 - see here.

Try loading jQuery 1.8.3 instead.

windukku 02-08-2013 02:31 PM

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'

SB65 02-08-2013 03:28 PM

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.

windukku 02-08-2013 04:23 PM

Managed to fix it, didn't add js into head. Thanks.


All times are GMT +1. The time now is 10:20 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.