Skip to content

A monkey patch for jQuery 1.3.1+ that adds some cross browser support for 'transform' property to css() method.

Notifications You must be signed in to change notification settings

kim3er/jquery-css-transform

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

-----------------------------
READ ME
-----------------------------
jquery-css-transform
Zachary Johnson
www.zachstronaut.com

This monkey patch for jQuery 1.3.1+ allows you to set and get CSS Transforms
in Webkit/Safari/Chrome and Firefox 3.5 in a uniform way with the jQuery css()
method.  You can simply do the following rather than using browser specific
properties:

$('#example').css('transform', 'rotate(165deg)');

Load jquery-css-transform.js in your project after loading jQuery.

For more information visit:
http://www.zachstronaut.com/posts/2009/02/22/jquery-patch-css-transform.html

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 - Update to make sure that you can use css({transform: value}) style syntax, too.

2009.05.24 - Updated to usual jQuery patch/plugin pattern where jQuery is passed in as $ argument.
           - Monkey Patched call to css() really only needed key as a named argument.
           - Neither of these updates really change anything.  Mostly just code cleanliness issues.

2009.02.23 - Added to GitHub.

About

A monkey patch for jQuery 1.3.1+ that adds some cross browser support for 'transform' property to css() method.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published