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

  • Home
  • SEARCH
  • 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 68597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T19:26:29+00:00 2026-05-10T19:26:29+00:00

I am looking to implement horizontal scrolling using jQuery.SerialScroll (based on jQuery.ScrollTo ). I

  • 0

I am looking to implement horizontal scrolling using jQuery.SerialScroll (based on jQuery.ScrollTo).

I currently have a continuous horizontal scrolling working with liScroll as I discuss in this post.

However, now I need discrete scrolling and I have SerialScroll working perfectly for vertical scrolling.

For some reason, if the ‘axis’ property is specified as ‘x’ nothing happens.

I can’t even get the SerialScroll example for right to left scrolling to work.

I have HTML like this:

<div id='pane'>    <div>Item 1</div>    <div>Item 2</div>    <div>Item 3</div> </div> 

I have jQuery like this, that works when axis is ‘y’

 jQuery(function($) {       var $pane = $('#pane');       $pane.serialScroll({           items: 'div',           next: $pane, // the container itself will get bound           duration: 2100,           force: true,           axis: 'x',           step: 1, //scroll 1 news each time           event: 'showNext' //just a random event name        });         setInterval(function() {//scroll each 12 seconds           $pane.trigger('showNext');        }, 12000);    }); 

Any ideas?

//Edit (answer accepted)

For those that come along, the accepted answer gets rid of the need for ‘serialScroll’ (just need scrollTo). Heights weren’t required. Be sure to change $(‘scroller’) to something like $(‘mywrap’) or $(target.parent().parent()). You can also set up automatic scrolling like this:

 var index = 2;   setInterval(function() {//scroll each 5 seconds  index = index > $('#news ul li').length ? 1 : index;   sliderScroll($('#news ul li:nth-child(' + index + ')'));   index ++;  }, 5000); 

replacing #news ul li to your appropriate selector.

  • 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. 2026-05-10T19:26:30+00:00Added an answer on May 10, 2026 at 7:26 pm

    I was recently working with scrollTo to implement a Coda-like slider wizard.

    Here’s the steps I took:

    1. Set a containing div to the dimensions I wanted the slider to appear as. overflow:auto; helps for testing, but you’ll probably want to use overflow:hidden in the end.
    2. Inside that place another div, make it big enough to hold all your elements horizontally.
    3. Float the panels. give them explicit dimensions.

    My CSS:

    .scroller{   position: relative;   overflow: hidden;   height: 410px;   width: 787px;}   .modal-content{width: 3400px;}     .modal-content div{float:left; width:728px; height: 405px; padding: 0 30px;}  

    My JS:

    function sliderScroll(target){   if(target.length <1)return false;   $('.current').removeClass('current');   target.addClass('current');   $('.scroller').scrollTo(target,500,{axis:'x'});   return false; } 

    My HTML:

    <div class='scroller'>   <div class='modal-content'>      <div>...</div>      ...   </div> </div> 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 124k
  • Answers 124k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Are you running on OS 3.0? I saw the same… May 12, 2026 at 1:19 am
  • Editorial Team
    Editorial Team added an answer It looks like you need to register Apache::Session::Memcached with Apache::Session::Wrapper,… May 12, 2026 at 1:19 am
  • Editorial Team
    Editorial Team added an answer Use DATENAME or DATEPART: SELECT DATENAME(dw,GETDATE()) -- Friday SELECT DATEPART(dw,GETDATE())… May 12, 2026 at 1:19 am

Related Questions

I have been looking around for solutions, and tried to implement what is often
I am looking to implement a data-driven wizard with the question tree stored in
I am looking to implement (or build as a last resort) a type of
I am looking to implement a live search in my MVC app similar to

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.