views:

34

answers:

2

how to rotate image angle using jquery? is it possible?

A: 

To check the browser use the jQuery.browser function. An image cannot be rotated with jQuery AFAIK.

Ralph Stevens
I believe jQuery.browser is actually deprecated. You should now be using feature detection
Neil Aitken
Yup... you're right. I just looked at the docs. They say they will continue to support it though.
Ralph Stevens
i have already use jquery's function for checking the browser, then also not detecting IE and FFox
chirag
actually image angle wise rotation is possible in FFox only, but won't support rest of all browsers. :(
chirag
+1  A: 

To rotate an image, you might want to look at this library for jQuery.

As stated above you can use jQuery.browser to detect browser type, however if you are using this to determine what a browser is capable of you should really use feature detection instead. See the note at the top of the linked page.

Shep