17.06.2018, 14:45
(17.06.2018, 12:22)admin Wrote: You are setting properties incorrectly, try this and remove transform origin entries:
Code:"animation": strvel + "s rotate linear infinite",
Hi admin:
Thank you very much, now it works very well
****** Code ********
grp.listen("42/2/7", function(object) {
var numvel = object.value;
var strvel = numvel.toString();
$(".vel1").css({
"animation": strvel + "s rotate linear infinite",
"transform-origin": " 50% 50%"
})
});
best regards
Roger