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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T08:32:10+00:00 2026-05-24T08:32:10+00:00

I have a list where each item is floating next to each other with

  • 0

I have a list where each item is floating next to each other with three items on each row. I’m paginating this list so that I have a total of 6 items on two rows. The markup looks essentially like this (some stuff inside album_wrapper removed for brevity):

<ul id="albums">
    <li><div class="album_wrapper"><img src="#"></div></li>
    <li><div class="album_wrapper"><img src="#"></div></li>
    <li><div class="album_wrapper"><img src="#"></div></li>
    <li><div class="album_wrapper"><img src="#"></div></li>
    <li><div class="album_wrapper"><img src="#"></div></li>
    <li><div class="album_wrapper"><img src="#"></div></li>
    <li><div class="album_wrapper"><img src="#"></div></li>
    <li><div class="album_wrapper"><img src="#"></div></li>
</ul>

Now, when transitioning between pages, I’m using a sliding animation from left to right (or right to left, depending on which navigation arrow is clicked). If all the items are laid out one per row, it looks great – as all the elements are moved “together”. However, when they’re floating next to each other, it looks like each element is animated individually and disappears into nothingness.

This is very hard to describe, so I’ve made a jsfiddle displaying the problem: http://jsfiddle.net/Nevon/g6cU3/

My question is, how can I go about making the animation in the second example look like the animation in the first example?

If you need any more information, go right ahead and ask.

EDIT: There seems to be some confusion, as I was a bit unclear in my post. I’m my fiddle I’m hiding all the items, but on the actual website, I’m only hiding or showing a subset of the list items. In the screenshot below, there are an additional 6 items that aren’t shown. They all belong to the same list. Screenshot from website

  • 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-24T08:32:10+00:00Added an answer on May 24, 2026 at 8:32 am

    Have a look at this fiddle. It does what you want it to. You basicly have to slide the UL instead if the LIs. Howeverm you also need to get rid of the floating, because it breaks the animation. I use display: inline-block instead.

    UPDATE: New fiddle. Slide out the entire container, hide the LI elements you do not want to display anymore, show those you want to display and slide in the container again. In the new fiddle I show and hide all of the LI elements. You can of course modify the selector to only select those you actually want to show / hide.

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

Sidebar

Related Questions

I have a list view that displays a collection of items, each item has
Say I have a list of items from a database. Next to each item
I have a list of items. When I create the list each item has
I have a list of items, where each item is a simple class containing
I have a list of data that is a schedule. Each item has a
I have Collection List<Car> . How to compare each item from this collection with
I have implemented a list view. Each item in my list view has two
I have list of object that I want each item to be rendered with
I have a checkbox list that each time the user selects one item, my
I have a list where each item is a row in an sqlite table,

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.