Rotor banner doesn't work when option "Use Ajax" under views rotor is enabled. So i have just changed "rotor.js" file where code is "$(document).ready(function() {
Drupal.RotorBanner.initialize();
});
}

})(jQuery);" TO the following:

" Drupal.behaviors.rotorBanner = function() {
Drupal.RotorBanner.initialize();
};
}

})(jQuery);".

So i am suggesting you to use drupal behaviors in that case. And i am hoping it should be in next version.

Comments

mrfelton’s picture

What does the 'Use Ajax' option do to a Rotor view? Does it actually make new rows get fetched via AJAX?

rahu231086’s picture

"Use Ajax" option plays very important role when we want to rotate large no. of items. In that situation using large no. of images makes a page heavy to load. So what i do just set the property "no of items" to some small value say 5, paging "Yes" and Use Ajax also set to "yes" so that the end user can get the next 5 items without page refresh. After i have done this what i see when i click next available page no. in paging, next 5 items displayed down one after the other. What it means DOM changes asynchronously without page refresh that does not make ready event and thus your code breaks. So by attaching the drupal behavior we can solve that kind of issue after all that is what drupal behaviors do.