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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T02:55:13+00:00 2026-06-01T02:55:13+00:00

Before I start this may be hard for some people to understand. Sorry. I

  • 0

Before I start this may be hard for some people to understand. Sorry.

I am wanting to design an online game using jQuery and php. The game is called Pointless, some people may of heard of it, it is a UK game show.

In Pointless the aim of the game is to score as few points as possible. And the score is determined out of 100. They use some graphical system on the show which invovles a column of lines which disappear as the points lower.

So for example this is the game board (not my design).

Pointless Board

I have 100 divs all with the same class, but with id’s “line1″,”line2” ,etc. is there any way i can remove them in time with the score countdown, and can this actually be done at all?

Here is my code for the countdown:

$(document).ready(function() {

            /* delay function */
            jQuery.fn.delay = function(time,func){
                return this.each(function(){
                    setTimeout(func,time);
                });

            };

            jQuery.fn.countDown = function(settings,to) {
            settings = jQuery.extend({
                    startFontSize: '36px',
                    endFontSize: '36px',
                    duration: 100,
                    startNumber: 10,
                    endNumber: 0,
                    callBack: function() { }
                }, settings);
                return this.each(function() {
                    if(!to && to != settings.endNumber) { to = settings.startNumber; }

                    //set the countdown to the starting number
                    $(this).text(to).css('fontSize',settings.startFontSize);

                    //loopage
                    $(this).animate({
                        'fontSize': settings.endFontSize
                    },settings.duration,'',function() {
                        if(to > settings.endNumber + 1) {
                            $(this).css('fontSize',settings.startFontSize).text(to - 1).countDown(settings,to - 1);
                        }
                        else
                        {
                            settings.callBack(this);
                        }
                    });     
                });
            };

            $('#countdown').countDown({
                startNumber: 100,
                callBack: function(me) {
                    $(me).text('Pointless').css('color','#FFF').css('font-size','15px').css('text-transform','uppercase').css('padding-top','15px').css('font-weight','bolder');
                }
            });
        });

Any ideas would be appreciated. All I need is a push in the right direction!!!

  • 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-01T02:55:14+00:00Added an answer on June 1, 2026 at 2:55 am

    Rather than having 100 divs, which you will remove 1 by 1, I think it would make more sense to have 1 div, with a height 100* greater than the others.

    Then rather than removing 1 div at a time, you would reduce the height of the div depending on the score.

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

Sidebar

Related Questions

Am using Mediainfo library in my C# project,before start invoking this dll,i just ran
Can this be done quickly in jQuery before I start looping through them? Or
This question may have been asked before, but I'm starting to get into game
Recently thanks to rails' popularity, many people start using activerecord as model. however, before
Before you start marking this as a duplicate , read me out. The other
Before I start know this: I am extremely new to Java and programming. How
before I start I want to point out that I tagged this question as
Let me start by saying that this app was working fine the day before.
Before I start coding, I want to come up with a good design first.
Before I start I should say I know this seems like a long shot,

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.