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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T22:48:24+00:00 2026-06-06T22:48:24+00:00

I am creating my own carousel slideshow for images, using Jquery. Currently i have

  • 0

I am creating my own carousel slideshow for images, using Jquery.
Currently i have a div which act as viewport with overflow: invisible; and inside i have a veeery long div with all the different images one next to each other.

This mean that the div could be several thousands pixel wide. I am wondering what if this can be a problem.

I thought to load all the images indipendently and moving them only when needed rather than moving the whole set of slides.

What do you think is a good solution to implement for high performance and lightness?

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-06-06T22:48:26+00:00Added an answer on June 6, 2026 at 10:48 pm

    On certain devices scrolling long bitmaps or layers can cause a visual tearing affect, if I was to start a project like this myself – it is more tricky to accomplish – but far better to use separately controlled divs.

    Depending on what you are trying to achieve you normally only have to use two divs (possibly three) that you control independently. All you need to is keep loading the next image in to the div that is “hidden” outside of your viewport and then slide it in to place whilst you slide off the currently visible one.

    The above is a better method from a point of view of optimisation and also flexibility on the kinds of transitional effects you can acheive (i.e. slides or fades and so on). I’d also recommend you either store your list of images as a JS Array (and preload each image before inserting it to the HTML Dom) or as a HTML/LI list on images (which will already be preloaded by the browser).

    A good example of this is the following:

    http://jquery.malsup.com/cycle/

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

Sidebar

Related Questions

I am creating my own jQuery plugin. Here is the code which I have
I'm currently creating my own CMS and I have a hard question (I think
Im currently creating my own forum for my website and i have read plenty
I am creating my own carousel which moves one step to the left or
I am currently creating my own custom section headers but I have never dont
I am using media player to play audio and video. I am creating own
I'm creating my own RSS Reader, and to see which RSS items were already
I'm just creating my own AboutBox and I'm calling it using Window.ShowDialog() How do
I'm creating my own script using the CodeIgniter MVC framework. Now, i want users
I'm creating my own recipe box using php/mysql and one part I'm stuck on

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.