element.setPosition(x,y) is not giving me positive results
Your comments are appreciated.
element.setPosition(x,y) should work as expected.
For example, to move
Div_2 element to the position (200, 100):
Maybe your script contains other errors so it doesn’t work.
i can see that the syntax is different
Saola don´t accept “document.” else “doc.”?
“getElementById” else “getElement”?
and… what other differences?
Document, scene, element are objects which Saola Animate HTML5 player creates to control the animation.
document, getElementById) to manipulate the DOM elements.
I’ll add that’s in not really different - it’s like working with a JS Library such as jQuery. It’s still all pure JS under the hood.
Saola Animate just makes it easy for non programmers but in way that still allows to programmers to do brilliant things behind the scenes. Well worth the time learning how.