Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1061609
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T18:29:54+00:00 2026-05-16T18:29:54+00:00

I am looking for some native JavaScript, or jQuery plugin, that meets the following

  • 0

I am looking for some native JavaScript, or jQuery plugin, that meets the following specification.

  • Sequentially moves over a set of images (ul/li)
  • Continuous movement, not paging
  • Appears infinite, seamlessly restarts at beginning
  • Ability to pause on hover
  • Requires no or minimal additional plugins

I realize this sounds simple enough. But I have looked over the web and tried Cycle and jCarousel/Lite with no luck. I feel like one should exist and wanted to pose the question before writing my own.

Any direction is appreciated. Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T18:29:55+00:00Added an answer on May 16, 2026 at 6:29 pm

    Both answers by MoDFoX and GSto are good. Usually I would use one of these, but these plugins didn’t meet the all the requirements. In the end this was pretty basic, so I just wrote my own. I have included the JavaScript below. Essentially it clones an element on the page, presumably a ul and appends it to the parent container. This in effect allows for continuous scrolling, right to left, by moving the element left and then appending it once out of view. Of course you may need to tweak this code depending on your CSS.

    // global to store interval reference
    var slider_interval = null;
    var slider_width = 0;
    var overflow = 0;
    
    prepare_slider = function() { 
     var container = $('.sliderGallery');
    
     if (container.length == 0) {
      // no gallery
      return false;
     }
    
     // add hover event to pause slider
     container.hover(function() {clearInterval(slider_interval);}, function() {slider_interval = setInterval("slideleft()", 30);});
    
     // set container styles since we are absolutely positioning elements
     var ul = container.children('ul');
     container.css('height', ul.outerHeight(true) + 'px');
     container.css('overflow', 'hidden')
    
     // set width and overflow of slider
     slider_width = ul.width();
     overflow = -1 * (slider_width + 10); 
    
     // set first slider attributes
     ul.attr('id', 'slider1');
     ul.css({"position": "absolute", "left": 0, "top": 0}); 
    
     // clone second slider
     var ul_copy = ul.clone();
    
     // set second slider attributes
     ul.attr('id', 'slider2');
     ul_copy.css("left", slider_width + "px");
    
     container.append(ul_copy);
    
     // start time interval
     slider_interval = setInterval("slideleft()", 30);
    }
    
    function slideleft() {
     var copyspeed = 1;
     var slider1 = $('#slider1');
     var slider2 = $('#slider2');
    
     slider1_position = parseInt(slider1.css('left'));
     slider2_position = parseInt(slider2.css('left'));
    
     // cross fade the sliders
     if (slider1_position > overflow) {
      slider1.css("left", (slider1_position - copyspeed) + "px");
     }
     else {
      slider1.css("left", (slider2_position + slider_width) + "px");
     }
    
     if (slider2_position > overflow) {
      slider2.css("left", (slider2_position - copyspeed) + "px");
     }
     else {
      slider2.css("left", (slider1_position + slider_width) + "px");
     }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking into using Jquery to replace some of our native Coldfusion ajax functionality.
I was looking at some native C code, and it referenced gdk_get_default_root_window . I
Looking at some assembly code for x86_64 on my Mac, I see the following
looking for some help with images referenced within the stylesheet. I have no problems
I've been looking for a way to call Objective-C code from some JavaScript in
I want to convert a native JavaScript event object to jQuery event object. Actually
I have some working Javascript code that generates an RDF/XML document using variables picked
I'm looking at some code that uses PATH_SEPARATOR . I don't think this constant
Hi I'm looking for some help in mapping the following tables to a hibernate
Recently I have been looking at jquery/javascript solutions to emulating the placeholder attribute, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.