Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-06-2013, 11:12 AM   PM User | #1
windukku
New to the CF scene

 
Join Date: Feb 2013
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
windukku is an unknown quantity at this point
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.
windukku is offline   Reply With Quote
Old 02-07-2013, 03:20 PM   PM User | #2
sunfighter
Senior Coder

 
Join Date: Jan 2011
Location: Missouri
Posts: 2,387
Thanks: 18
Thanked 350 Times in 349 Posts
sunfighter is on a distinguished road
This http//:winstonduke.com/waltzforlife does not work. Bad link.
sunfighter is offline   Reply With Quote
Old 02-07-2013, 03:54 PM   PM User | #3
niralsoni
Regular Coder

 
Join Date: Mar 2008
Location: London
Posts: 129
Thanks: 1
Thanked 31 Times in 31 Posts
niralsoni is an unknown quantity at this point
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..
niralsoni is offline   Reply With Quote
Old 02-08-2013, 12:27 PM   PM User | #4
windukku
New to the CF scene

 
Join Date: Feb 2013
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
windukku is an unknown quantity at this point
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.
windukku is offline   Reply With Quote
Old 02-08-2013, 01:12 PM   PM User | #5
SB65
Senior Coder

 
Join Date: Feb 2009
Location: West Yorkshire
Posts: 2,817
Thanks: 9
Thanked 681 Times in 675 Posts
SB65 will become famous soon enoughSB65 will become famous soon enough
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
SB65 is offline   Reply With Quote
Old 02-08-2013, 02:31 PM   PM User | #6
windukku
New to the CF scene

 
Join Date: Feb 2013
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
windukku is an unknown quantity at this point
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'
windukku is offline   Reply With Quote
Old 02-08-2013, 03:28 PM   PM User | #7
SB65
Senior Coder

 
Join Date: Feb 2009
Location: West Yorkshire
Posts: 2,817
Thanks: 9
Thanked 681 Times in 675 Posts
SB65 will become famous soon enoughSB65 will become famous soon enough
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.
SB65 is offline   Reply With Quote
Old 02-08-2013, 04:23 PM   PM User | #8
windukku
New to the CF scene

 
Join Date: Feb 2013
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
windukku is an unknown quantity at this point
Managed to fix it, didn't add js into head. Thanks.
windukku is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:28 PM.


Advertisement
Log in to turn off these ads.