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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T05:05:39+00:00 2026-06-13T05:05:39+00:00

Hey How would I load this code http://jsfiddle.net/xw89p/ in a simple web form in

  • 0

Hey How would I load this code

http://jsfiddle.net/xw89p/

in a simple web form in visual studio.

For example can I insert this into the

  var rotation = function (){
  $("#image").rotate({
  angle:0, 
  animateTo:360, 
  callback:enter code here 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();​
  • 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-13T05:05:40+00:00Added an answer on June 13, 2026 at 5:05 am

    Put that code in a JavaScript file (.js), then in your web form file, add a tag that references the .js file:

    <script language="JavaScript" src="scripts.js"></script>
    

    A second possibility is to put that code inside the script tag in your web form file:

    <script>
    var rotation = function (){
       $("#image").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;
          }
       });
    }
    $(document).ready(function(){
        rotation();​
    });
    </script>
    

    Of course, you’ll need to make sure to first reference jQuery and whatever other javascript libraries you need BEFORE inclusing your js file, or BEFORE the inline script tag.

    Hope this helps

    EDIT: Here’s a working verison on my side:

    <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html>
    <img src="https://www.google.com/images/srpr/logo3w.png" id="image">​
        <script  type="text/javascript"
        src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js">
    </script>
    <script type="text/javascript" src="http://jqueryrotate.googlecode.com/svn/trunk/jQueryRotate.js"></script>
    <script type="text/javascript">
        function rotation() {
            $("#image").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;
                }
            });
        };
        $(document).ready(function () {
            rotation();
        })
    </script>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey guys this should be simple, I'm just not seeing it, I would like
This would be a HTML file: <li class=msgln>hello</li><li class=msgln>hi</li><li class=msgln>hey</li> And php script: $fp
Hey I was wondering how I would go about coding a way to load
Hey i would like do have your input on this I use this to
hey I'm new to programming so I thought I would just make a simple
Hey this might be a simple question, but I have never had to import
Hey,...very simple question I usually write php but happen to be programming with ASP.NET
Hey guys, It's 5 am here, I was doing some code... when this came
Hey I would like to use Nested Stored Procedures in ASP.NET 2. The first
Hey guys I'm tired and can't figure this one out so any help would

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.