GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - zhanghedong/jquery-animate-css-rotate-scale: A monkey patch for jQuery 1.3.1+ that adds support for setting or animating CSS scale and rotation independently.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
jquery-css-transform @ ebab8c1
jquery-css-transform @ ebab8c1
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
README
README
 
 
jquery-animate-css-rotate-scale.js
jquery-animate-css-rotate-scale.js
 
 

Repository files navigation

-----------------------------
READ ME
-----------------------------
jquery-animate-css-rotate-scale
Zachary Johnson
www.zachstronaut.com

This monkey patch for jQuery 1.3.1+ allows you to:

1. Get and set rotate and scale CSS transforms independently with the added
   custom jQuery methods rotate() and scale().

   Examples:
   $('#example').rotate('30deg');
   $('#example').scale(1.5);
   $('#example').rotate('45deg');
   $('#example').rotate(); // returns '45deg'
   $('#example').scale(); // returns '1.5'

2. Animate rotate and scale CSS transforms independently using jQuery's
   animate() method.

   Examples:
   $('#example').animate({rotate: '30deg', scale: '1.25'}, 1000);
   $('#example').animate({rotate: '+=30deg', scale: '-=0.1'}, 1000);

Browser Support
---------------
The CSS transform property and therefore this patch currently function in
Webkit/Safari/Chome and Firefox 3.5.  

Using This Patch
----------------
Load jquery-animate-css-rotate-scale.js after loading jQuery and
jquery-css-transform.js.  For example:

<script src="jquery.js" type="text/javascript"></script>
<script src="jquery-css-transform.js" type="text/javascript"></script>
<script src="jquery-animate-css-rotate-scale.js" type="text/javascript"></script>

For more information visit:
http://www.zachstronaut.com/

This code is currently available for use in all personal or commercial projects
under both MIT and GPL licenses, just like jQuery. 

-----------------------------
Change Log
-----------------------------

2009.07.15 - Added to GitHub

About

A monkey patch for jQuery 1.3.1+ that adds support for setting or animating CSS scale and rotation independently.

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.