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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T06:10:26+00:00 2026-06-02T06:10:26+00:00

I would like to have multiple images rotate, or gyrate, or spin, whatever the

  • 0

I would like to have multiple images rotate, or gyrate, or spin, whatever the term best describes the 2D image rotate, from the same document.

The jquery plugin that does this for one image is: http://code.google.com/p/jqueryrotate/wiki/Examples

Although the example page shows many instances of rotating images, these are loaded from iframes. Meaning, each rotating image is the portion of another document shown through iframe.

I am trying to rotate different images, at different speeds, and in different angles and it is not working.

For example, for two images I used code

var angle = 0;

    setInterval(function(){
      angle+=3;
     jQuery(".process-1").rotate(angle);
},50);
setInterval(function(){
      angle-=3;
     jQuery(".process-2").rotate(angle);
},30);

Thank you

  • 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-02T06:10:27+00:00Added an answer on June 2, 2026 at 6:10 am

    It seems to be working fine on multiple images. You did not explain what you wanted, but here is the code for spinning three images…

    http://jsfiddle.net/RwEme/603/

    var rotation = function (){
       $("#image, #image2, #image3").rotate({
          angle:0, 
          animateTo:360, 
          callback: rotation,
          easing: function (x,t,b,c,d){        // t: current time, b: begInnIng value, c: change In value, d: duration
              return c*(t/d)+b;
          }
       });
    }
    rotation();
    

    HTML:

    <img src="https://www.google.com/images/srpr/logo3w.png" id="image"/>
    <img src="https://www.google.com/images/srpr/logo3w.png" id="image2"/>
    <img src="https://www.google.com/images/srpr/logo3w.png" id="image3"/>​
    

    EDIT:

    Here is another working demo based on edits to the OP.

    http://jsfiddle.net/RwEme/604/

    It wasn’t working because you’re trying to use the same variable (angle) for two different things.

    var angle = 0,
        angle2 = 0;
    
    setInterval(function() {
          angle += 3;
         $("#image").rotate(angle);
    },80);
    setInterval(function() {
          angle2 -= 3;
         $("#image2").rotate(angle2);
    },20);​
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a site where I would like to let users select multiple images
I have multiple divs, each with a unique id and image. I would like
Would like to horizontally align multiple images and have them flow down the page
I would like to have multiple files in a folder with are managed by
I have multiple nested movieclip in its own different movieclip, and i would like
I have an application in which I would like to support multiple orientations. I
I have a WPF ListBox that I would like to Enable multiple selection in
I have a huge text file that I would like to split into multiple
I have been working on a web page and would like to load multiple
I have an actionBar with multiple items, I would like to change the colour

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.