Kento Testimonial Slider
Looping only once through the lists (3 posts)

  1. JRizzle88
    Posted 2 years ago #

    Hello, this is a nice and simple plugin that I have actually made into just a word rotator. However, I have been trying to get it to stop at the last list item.

    I tried adding in the code below to set the rotation to false. It just does not seem to work.

    if ($('.kento-testimonial ul li:last').hasClass('active')) {
    rotation_active = false;

    Any help is greatly appreciated! Thanks!


  2. KentoThemes
    Plugin Author

    Posted 2 years ago #

    Hi JRizzle88,
    your idea is supper!!

    Currently this plugin doesn't support "rotation_active" features

    but we have planing to update this plugin and add more features


  3. JRizzle88
    Posted 2 years ago #

    It is something to consider, I will keep picking at it until I get it figured out. Your variables are very well named.

    var rotation_active = true by default in your code

    Our main question to ask is, if it is the last list item it will be within the var you created below I believe to make rotation_active = false.

    var start_automatic_rotation = function() {
      rotation = setInterval(function() {
      if (rotation_active) { rotate_quotes('forward'); }
      }, rotation_speed);

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Kento Testimonial Slider
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic