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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:14:53+00:00 2026-05-25T13:14:53+00:00

I made an animation with jQuery, everything is written correctly but it doesn’t work!!!

  • 0

I made an animation with jQuery, everything is written correctly but it doesn’t work!!! DX Could anyone help me?

$(document).ready(function(){ 
 $('#cloud1').css({backgroundPosition: '0 -80px'});
 $('#cloud2').css({backgroundPosition: '0 -30px'});
  $('#cloud1').animate({backgroundPosition: '(-500px -80px)'}, 20000);
  $('#cloud2').animate({backgroundPosition: '(-625px -30px)'}, 20000);
});
  • 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-25T13:14:54+00:00Added an answer on May 25, 2026 at 1:14 pm

    You can see here what can jQuery do. Here is a simple (with fiew bugs to fix) game.
    You can find in the code all the jQuery brutality you may need, and is full of loops and other things! Take a look:

    http://roxon.in/scripts/particlesExplosionGame/

    recommended browsers: Opera, Chrome (both have a great JS engine!)

    Or if you want you can go through this easy tutorial of mine (has loops too! counters and all the fun jQuery stuff!) :

    http://roxon.in/scripts/tutorials/NavGallery_jQuery_Tutorial_01/


    But always … always go for reference to the jQuery official API pages. And Stack Overflow of course.

    And take a look for ‘bounces’ (easings) , sliders and so on here: http://jqueryui.com/demos/


    Here, I prepared to you a fun

    DEMO loops animation with random positions and speed

    I commented my code do help you understand!

    Change the numbers, add more cars, have fun!

    P.S. : to add more cars you’ll have to learn the jQuery .each() function method 😉 and try to implement it!

    (Ok, just kidding – but it’s easy. look for your self! DEMO with multiple cars!)

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

Sidebar

Related Questions

I have small animation made with jQuery (panels goes up and comes down). But
I have made a CSS3 animation plugin for jquery that works perfectly in JS
I have made a fromAlpha=1 toAlpha=0 animation to a view, but every time the
I'm wondering how to stop an animation made with jQuery timers. I think I
I have a successful (almost) animation in jquery but now need a text saying
I've made this script that lets you navigate through multiple divs with jQuery, but
I have used a scrollTop function in jQuery for navigating to top, but strangely
In my project, I made an animation for my UIImageView using some pngs. I
I have made a simple animation in Flash and the i exported into a
When I use .slideToggle on an element, it doesn't display an animation for the

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.