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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:58:35+00:00 2026-05-26T05:58:35+00:00

I have this UL list: <ul class=third-level-nav> <li><a href=/accommodations/Home.aspx>Home</a></li> <li><a href=/accommodations/Household-Ordering-Tutorial.aspx> Household Ordering Tutorial

  • 0

I have this UL list:

<ul class="third-level-nav">
  <li><a href="/accommodations/Home.aspx">Home</a></li>
  <li><a href="/accommodations/Household-Ordering-Tutorial.aspx">
       Household Ordering Tutorial
      </a>
  </li>
  <li><a href="/accommodations/List-of-standard-items.aspx">
       List of standard items
      </a>
  </li>
  <li>
     <a href="/accommodations/Costs-of-utilities.aspx">
      Costs of utilities
     </a>
  </li>
</ul>

It displays like this on the page, as a flat list (LI floated left, list-style:none):

Home | Household Ordering Tutorial | List of standard items | Costs of utilities

The problem is, there could be a dozen or more of these LI items, and they’ll wrap to the next line. Is there a way to use jQuery to make the list scrollable? In other words, it would show a > if there are more items, and a < when the user has scrolled some items out of view? It would smoothly scroll left and right.

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-26T05:58:36+00:00Added an answer on May 26, 2026 at 5:58 am

    You can do this without jQuery or JavaScript. Try this CSS instead of using float:

    LI {
        display:inline-block; 
        list-style:none;
    }
    UL {
        white-space: nowrap;
    }
    

    http://jsfiddle.net/mblase75/HhecV/

    This won’t make the list scrollable, but it will make the entire page scrollable. To make just the list scroll horizontally, add overflow:auto:

    LI {
        display:inline-block;
        list-style:none;
    }
    UL {
        white-space: nowrap;
        overflow: auto;
    }
    

    http://jsfiddle.net/mblase75/HhecV/2/

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

Sidebar

Related Questions

I have the following simple 3 level menu structure: <nav class=main-nav class=list> <ul> <li
I have List of particular class. I want to save this List at a
I have this class: class OriginalClass { string FirstItem; List<string> ListOfSecondItems; } I want
I have this piece of code List<Class<? extends SubApplication>> appClasses = new ArrayList<Class<? extends
I have a list of this class: public class Data { public string name
I have code that looks like this: template<class T> class list { public: class
i neeed something like this in C#.. have list in class but decide what
I have a class like this: public class Contest { List<ContestTeam> Teams { get;
I have a collection class like this: public class SomeDataCollection : List<ISomeData> { //
I have a list of parameters like this: public class parameter { public string

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.