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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T08:41:35+00:00 2026-06-04T08:41:35+00:00

I am trying to make this code work but after trying a lot I

  • 0

I am trying to make this code work but after trying a lot I am still unable to run it. The image should animate but its not working. Any ideas whats wrong? Thanks

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
<script type=""
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>

<style type="text/css">
img
{
    position:absolute;
}​

</style>

<script type="text/javascript">
$(document).ready(function() {
 $zombie = $('img#flickr');


          function runit(){

            $zombie
             .animate({ opacity: 1 },100)
                .animate({top:'300px',left:'300px'}, {duration:2000})
            .animate({top:'260px',left:'340px'}, {duration:2000})
            .animate({top:'220px', left:'380px'}, {duration:2000})
            .animate({top:'180px', left:'420px'}, {duration:2000})
            .animate({top:'140px', left:'460px'}, {duration:2000})
                .animate({top:'100px', left:'500px'}, 2000,function(){
                   runit();    
                });

        }


        runit();​
});
</script>
</head>

<body>
<!--<img id ="flickr" src="9.png" />
-->
<img id ="flickr" src="http://placekitten.com/g/200/300" />​
</body>
</html>
  • 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-04T08:41:37+00:00Added an answer on June 4, 2026 at 8:41 am

    Its working just fine. There is broken <script type="" in your code, remove it. But it works for mine with that broken tag. If still there is problem, then use firebug or such type debugger to check error.

    • Check that jquery is loading correctly or not.
    • Take your <script> having code just before </body>, though may be its not an issue.

    Go to the js code where you call the function runit();, place cursor after ; and press backspace key until it delete the semicolon(;) and save the script, upload it and check again.

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

Sidebar

Related Questions

I am trying to make this IF statement work, but I can't seem to
I'm trying to make this code generic: public final Object unwrap(Class arg0) { throw
I'm trying to make a multithreaded server/client app with java ! this code is
I am trying to make a simple alarm. in this code portion a take
I'm trying to make a python binding for the this library: http://code.google.com/p/hosterslib/ . I'm
Currently I'm trying to make a flowchart, this is the code I've got so
I'm trying to make this fragment work: Version History --------------- These are the versions
I have spent days trying to make this work based on the examples in
<body onload=document.getElementById('menuTest').style.removeAttribute('display')> This is the code I'm using. Basically I'm trying to make an
My connected sortables work great but I'm trying to make one improvement: If a

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.