I'm manipulating a div with the new cool css3 way of doing a transform like this:
$("#thediv").css("-webkit-transform","translate(-770px, 0px)");
Later on in the script I thought to get the value of the transform like this:
$("#thediv").css("-webkit-transform");
It returns a matrix like this: matrix(1, 0, 0, 1, -770, 0)
What I can't figure out is how to get the 5th value (-770) of this matrix...
Any suggestions? Thanks!
translateY
, it'smatrix[5]
. – Asbestos