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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T06:39:15+00:00 2026-06-08T06:39:15+00:00

I have an image that I am trying to rotate 30 degrees and move

  • 0

I have an image that I am trying to rotate 30 degrees and move horizontally across a page. However, I don’t think I am handling the jquery right because I am getting several errors in the Firefox Web Console. Here are the errors:

[10:30:27.260] ReferenceError: jQuery is not defined @ file:///home/ladmin/Desktop/javascriptAnimations/jquery.rotate.1-1.js:1
[10:30:27.274] The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must to be declared in the document or in the transfer protocol. @ file:///home/ladmin/Desktop/javascriptAnimations/si110cockroach.html
[10:31:03.416] ReferenceError: $ is not defined @ file:///home/ladmin/Desktop/javascriptAnimations/si110cockroach.html:12

I included the script tags with the jquery source at the top like this:

<script language="javascript" type="text/javascript" src="jquery.rotate.1-1.js"></script>

And here is the code where I call the jquery:

function moveLeft(object,x,y){
        $(object).rotateRight(30);
        object.style.right = x + "px";
        object.style.top   = y + "px";

        if (x < 0 || x > 1500 || y < 0 || y > 1500)
        {
            object.style.visibility="hidden";
        }
        else
        {               
            var t = setTimeout(function() { moveLeft(object,x+3,y+0); }, 5);
        }
    }

Am I not including the source file right or am I not calling the jquery right?

  • 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-08T06:39:16+00:00Added an answer on June 8, 2026 at 6:39 am

    You have to include jquery.min.js before the jquery.rotate.1-1.js script:

    <script language="javascript" type="text/javascript" src="jquery.min.js"></script>
    <script language="javascript" type="text/javascript" src="jquery.rotate.1-1.js"></script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this background image that is 175x175 but I am trying to make
I'm trying to take an image that I have in a image object and
That's pretty much what I am trying to accomplish. To have each image appear
I'm trying to build the simple layout that I have got in the image
I have image map that can I move, but this map will be so
I have a bitmap image that I'm trying to do a hit test on.
Currently I am using jquery rotate plugin to rotate a image on the page,
I'm trying to set up a UITableViewCell that can have an image in the
Im trying to rotate an image, that i want to draw on a image
I have an image that I want to position in the right and repeat

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.