A
A
Andrey Dontsov2015-09-14 17:25:48
JavaScript
Andrey Dontsov, 2015-09-14 17:25:48

Animation html + js. How to embed this code on your site?

Good afternoon
I made a simple animation (html + js) in adobe flash, an example on codepen - codepen.io/Andrey-m/pen/MaKbYd
Question
How to add it to your site?
Obviously include the same scripts and the same html markup
The problem is that onload="init();" set in the body tag.
1 - I'm trying to put it in a separate div - it doesn't work
2 - I'm trying to add onload="init();" in the body tag on your site - does not work
Tell me what is the reason, how to add this block to your site.
Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Ineshin, 2015-09-14
@IonDen

And what about the flash? The output is an animation on Canvas.
You probably forgot to insert the canvas tag on your page and include all these scripts from the head.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question