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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T06:28:42+00:00 2026-05-17T06:28:42+00:00

I am building a splash page for a website with jquery animations. My problem

  • 0

I am building a splash page for a website with jquery animations.
My problem is: sometimes (before the page and images are cached by the browser) the images load in an order which detracts from the quality of the animation.

Ok, heres what I did:
the container div has the following css: background:url(images/colorcity.png)
if js is enabled I superimpose a greyscale <img> onto colorcity, whose opacity is animated to 0 for a nice “fade to color” effect.
to do this I use: $("#container").prepend('<img src="images/greycity.png" class="grey" />')

What I have been attempting to do, is somehow get that prepended image to be the first thing to display on the page, as it will be ‘hiding’ other images used in the animation. Unfortunately all of my attempts have failed.

I assume that this is a common problem and likely is a repeat question, but I couldn’t find an answer after an hour or two of looking. So, sorry if I’m a noob lol.

Thank you ahead of time for any help.

The page: http://roughgiraffed.com/barrandbarrbags/

  • 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-17T06:28:42+00:00Added an answer on May 17, 2026 at 6:28 am

    Try including this at or near the top of your page:

    <img src="images/greycity.png" style="display: none;" />
    

    That should force the image to load pretty early on. If it’s still a problem do your animation in the load() callback rather that ready(), to ensure that all your images will be loaded up.

    Very cool page, by the way (and it seems to work great in firefox).

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

Sidebar

Related Questions

Building a website. When I order my tags like this, LightCycle works but Lightbox
When building a standard (non-WordPress) web page, I generally load all javascript files just
When building a VS 2008 solution with 19 projects I sometimes get: The GenerateResource
Im building a web application which is a process management app. Several different employee
I'm building a site that has products, each of which belongs to one or
I'm building (read: trying to build) a Visual Studio integration package, which contains some
Building an application, before using a real database, just to get things work I
When building a system which needs to respond very consistently and fast, is having
Building on this question , now I have another problem. Given this, shipments =
I'm building a server in Node.js that receives data from Javascript on a website.

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.