I use web-kit transition in the iPad app. They work very well. But I want to know how to change the converted value using javascript.
#container {
-webkit-transition-property: -webkit-transform;
-webkit-transition-duration: 1s;
-webkit-transition-timing -function: ease-out;
}
What do I want to do:
Is this possible?
can be used:
document.getElementById('container').style['-webkit-transition-duration'] = '500s';
See http://jsfiddle.net/z3bKD/2/.
I use web-kit transitions in an iPad app. They work very well. But I want to know how to change the converted value using javascript.
#container {
-webkit-transition-property: -webkit-transform;
-webkit-transition-duration: 1s;
-webkit-transition-timing -function: ease-out;
}
What do I want to do:
Is this possible?
You can use:
document.getElementById('container').style[' -webkit-transition-duration'] = '500s';
See http://jsfiddle.net/z3bKD/2/.