I've not rotations!! and this is the message: $.fn.cycle in undefined

$.fn.cycle.updateActivePagerLink = function(pager, currSlideIndex){

Wath is that?

Comments

mrfelton’s picture

Status: Active » Postponed (maintainer needs more info)

which version of jquery_plugins are you using?
Which version of jquery_update are you using?

mrfelton’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Closing due to several months inactivity and no response to my questions.

nareshss66’s picture

Issue tags: +banner change

hi ,

i have error like this in mozilla

$.fn.cycle is undefined

Banner is not changed
versions iam used

drupal :5.2.3

Rotor Banner 5.x-1.8

jQuery plugins 5.x-1.3

JQuery Update 5.x-1.0

this is my js file(rotor.js)

(function($) {

Drupal.RotorBanner = {};

Drupal.RotorBanner.initialize = function() {
if(typeof Drupal.settings.RotorBanner.enabled != 'undefined' && Drupal.settings.RotorBanner.enabled) {
Drupal.RotorBanner.animate();
}

};

Drupal.RotorBanner.animate = function() {
// redefine Cycle's updateActivePagerLink function

$.fn.cycle.updateActivePagerLink = function(pager, currSlideIndex){
$(pager).find('.rotor-tab').removeClass('selected')
.filter('.rotor-tab:eq(' + currSlideIndex + ')').addClass('selected');
};

if (Drupal.settings.RotorBanner.effect == 'random') {
Drupal.settings.RotorBanner.effect = 'blindX, blindY, blindZ, cover, curtainX, curtainY, fade, fadeZoom, growX, growY, scrollUp, scrollDown, scrollLeft, scrollRight, scrollHorz, scrollVert, shuffle, slideX, slideY, toss, turnUp, turnDown, turnLeft, turnRight, uncover, wipe, zoom';
Drupal.settings.RotorBanner.randomize = 1;
}

$('.rotor-items').cycle({
timeout: Drupal.settings.RotorBanner.time * 1000,
speed: Drupal.settings.RotorBanner.speed,
fx: Drupal.settings.RotorBanner.effect,
randomizeEffects: Drupal.settings.RotorBanner.randomize,
pause: Drupal.settings.RotorBanner.pause,
pager: '.rotor-tabs',
pagerAnchorBuilder: function(idx, slide){
return '.rotor-tabs .rotor-tab:eq(' + idx + ')';
}
});
};

if (Drupal.jsEnabled) {
$(document).ready(function() {
Drupal.RotorBanner.initialize();
});
}

})(jQuery);

please let me know the error .please help me thank yopu