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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T02:50:13+00:00 2026-06-12T02:50:13+00:00

I was debating a few methods for emulating a Price is Right type wheel

  • 0

I was debating a few methods for emulating a “Price is Right” type wheel or style UIPicker functionality.
That said I do not need the whole dialog and color schemes from a UIPicker plugin. I just need to be able to animate through a couple images to replicate the spinning of a wheel.

As an example lets say this is my list:
1984
1985
1987
1990
1994

and Lets say that these numbers are on screen:

1985
1987
1990

and when the user clicks 1990 the list slides up taking 1985 off screen while 1994 comes on screen. Leaving us with:

1987
1990
1994

Then when the user clicks 1994 the list slides up again and 1987 leaves the screen and 1984 comes on to the screen. Alternatively the list could slide down as well… So what would be the preferred way to accomplish this? I’ve debated an infinite scroller and a set of oversized images (that would be inside a smaller div to limit it’s onscreen section) for each combination that could slide up/down and then swap out for the new combination and to be ready for the next selection.

  • 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-12T02:50:15+00:00Added an answer on June 12, 2026 at 2:50 am

    I suppose there are a good few ways to do this successfully. Personally I would just have a callback on jQuery animate that uses insertAfter to take the first item and append it to the end, whilst also modifying the relative position of the list. This works and is only a few lines of code, but it depends on how smooth you want it to be.

    Something like:

    var $length = $('.list li').length--;
    $('#foo').click(function(){
        $('.list').animate({
            top:'-30px'     
        },function(){
            $('.list li').eq(0).insertAfter($('.list li').eq($length));
            $('.list').css('top','0px');
        });
    });
    

    Works but it’s off the top of my head, there’s probably a smoother way of doing that.

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

Sidebar

Related Questions

I am debating the proper, OO-design to use another object's functionality (methods) from a
Right now, I'm debating whether or not to use COUNT(id) or count columns. I
I've seen a few interesting discussions recently debating whether or not a given (hard)
I am debating on whether or not to write my own authentication class. It's
I was debating with a friend who states that the static constructor could give
I am currently debating an issue with my dev team. They believes that empty
Our team is debating whether we want to become Agile or not. None of
I'm still debating whether I want to do this or not but what I'm
I have been debating whether or not to use ASP.Net WinForms to manage content
I'm debating with myself whether or not to compress a plain text file I'm

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.