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 7981227
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T10:18:21+00:00 2026-06-04T10:18:21+00:00

I am using jCarousellite on a list on a website I am building. It

  • 0

I am using jCarousellite on a list on a website I am building. It works perfectly, however the issue is that for some reason, the script is causing List Items to stop stacking.

What I mean by this is – instead of this:

li     li
li     li

I am getting this:

li     li     li      li

It works fine when I remove the script, but with it, its forcing them all onto a single “line”. I’ve looked through the script and cannot figure out what part is forcing them all onto a single line.

Here is the script: http://www.trekradio.net/dev/wp-content/themes/tr2012/js/jcarousellite_1.0.1.js

You can also see a demo of the problem here in the “Whats On” Section of the Heaer: http://www.trekradio.net/dev/ (this site is under construction so forgive its state).

EDIT: Setting the “vertical” option to “true” in the script changes the carousel scrolling to vertical AND displays the list items like this, which is not what I want:

li

li

li

li
  • 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-06-04T10:18:22+00:00Added an answer on June 4, 2026 at 10:18 am

    UPDATED : [ugly fix]

    here is the line you need to update in jcarousellite_1.0.1.js (you add the tiny / 2 bit) :

        var ulSize = liSize * itemLength / 2;                   // size of full ul(total length, not just for the visible items)
    

    Beware since it will impact all other Carousels in any other page.

    UPDATE 2 : backward compatible fix

    I patched the .js file, and you can use option lines in your code, or leave it with 1 line by default :

    <script type="text/javascript">
    $(function() {
        $(".anyClass").jCarouselLite({
            btnNext: ".next",
            btnPrev: ".prev",
            lines : 2
        });
    });
    </script>
    

    Here is the patched jcarousellite_1.0.1.js

    Good luck !

    —

    I am afraid that this would bend jCarouselLite a little too far.

    I would advise you to split the li in two ul, by PHP or even by manipulating the DOM in Javascript/jquery.

    This way, you can achieve your goal by setting up two parallel horizontal carousels running together.

    Hope this helps !

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using jCarousel to show a list of items. Lets say there are
Using Rails 3.1. I have some pages that render same layout, except the contents
I am using jCarouselLite and fancybox together, please see this link http://travianstation.com/index.html script: http://travianstation.com/scripts/script.js
I'm using the script from http://www.gmarwaha.com/jquery/jcarousellite/ and now I need the thumbs to work
I'm using JCarousellite to create simple carousels on a Drupal site. In my template
Im pretty sure this has a simple solution. I am using jCarousellite, and i
Using Nunit, I want to be able to write a test fixture that will
Using top it's easy to identify processes that are hogging memory and cpu, but
I am using jcarousellite control to provide carousel effect on my images via next
http://www.gmarwaha.com/jquery/jcarousellite/?#demo Hi, jcarousellite is a very nice jquery extension. I am using it for

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.