How can you specify cross-browser transform controls using jQuery since each browser seems to use its own methodology?
Here is the code I am using for Firefox but I can’t even get it to work. I think it’s because there is no way to tell which transformation – scale, rotate, skew – to use.
$(".oSlider-rotate").slider({
min: 10,
max: 74,
step: .01,
value: 24,
slide: function(e,ui){
$('.user-text').css('transform', ui.value)
}
});
If you want to use a specific transform function, then all you need to do is include that function in the value. For example:
Secondly, browser support is getting better, but you’ll probably still need to use vendor prefixes like so:
jsFiddle with example: http://jsfiddle.net/jehka/230/