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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:40:49+00:00 2026-05-23T17:40:49+00:00

More a question about CSS, than about jQuery. I display top 7 players and

  • 0

More a question about CSS, than about jQuery.

I display top 7 players and weekly leaders at the bottom of my Facebook game. The very bottom line displays a random hint in italics font:

top7 and hint

That #top div-block is updated every 10 minutes by the following jQuery code:

<script type="text/javascript">
$(function() {
        setInterval(function() {
                $.get("/preftop.html", function(data) {
                        $("#top").html(data);
                });
        }, 10 * 60 * 1000);
});
</script>


<div id="top">
<table width="700" bgcolor="#eeeeee">
......top7.......
</table>
<p>Random hint</p>
</div>

It works well, but users aren’t given any indication, that the block will be updated again in next 10 minutes.

I’ve looked at ajaxload.info – those are cool images, but not very suitable here, because the updates aren’t happening very often.

So I’d like to display a horizontal bar growing from 0 to 700px every minute (for that I’ll change my code to run every 1 * 60 * 1000).

My question is how would you do such a bar? Is there maybe a way to make a yellow bar displayed underneath the random hint line at the bottom of the div?

(And I know there is at least 1 jQuery plugin for displaying a progress bar, but it is not suitable here, because the screen space is limited, it would look too clumsy).

Hoping for good ideas from CSS wizards! Alex

UPDATE:

Can’t I add id=”hint” to the <p>Random hint</p> and a yellow bar underneath:

#hint {
    background-image:url(yellow.gif);
}

and then somehow (that’s what missing) increas the width of that yellow rectangle every minute? Is there a width for background images?

  • 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-23T17:40:50+00:00Added an answer on May 23, 2026 at 5:40 pm

    Have a look at this Progressbar Plugin.

    It is very light and easy to use. It also doesn’t use that much space.

    Edit:
    Link added

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

Sidebar

Related Questions

EDIT: This question is more about language engineering than C++ itself. I used C++
More than about LINQ to [insert your favorite provider here], this question is about
One more question about the sticky footer css... lets say i have the following
One more question about most elegant and simple implementation of element combinations in F#.
I asked a related question about findbugs, but let's ask a more general question.
Earlier today I asked a question about environ , and one of the more
I know there is already a question about this but my issue is more
This isn't really a programming question but more about programming and testing tools. Is
I got this in an interview question -- the question was more about what
This is kind of more generic question, isn't language-specific. More about idea and algorithm

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.