Posts Tagged: Safari


6
Jan 10

Turn around, bright eyes…

Just discovered a lovely little add-on to jQuery that allows rotation. You can grab it at http://code.google.com/p/jquery-rotate/

It’s simple to implement, just include the script in the head and once the page has loaded:

$('#image_to_rotate').rotateLeft();

Ta-da! 90° rotation counter-clockwise. You can also use rotateRight() for clockwise rotation or even specify the number of degrees

$('#image_to_rotate').rotateLeft(45);

The plug-in works using the DXImageTransform filter in IE and the Canvas element in other browsers. Unfortunately, it doesn’t work in Safari…

Continue reading →


Blog WebMastered by All in One Webmaster.