Awesome q2a theme

How to assign THREE.js scene position: abosolute?

0 like 0 dislike
52 views
Want to introduce that scene with a bird in my project
all scripts loaded, everything works but does not appear in my stage, that is not pozitsianiruet for the absolute, help how do I do that?

Here is he code and implementation
by | 52 views

1 Answer

0 like 0 dislike
Good (if quick):
\r\r


in the script instead
document.body.appendChild( renderer.domElement );

so write:
var cnv = document.getElementById('birds'); cnv.appendChild( renderer.domElement );


and for the wrapper:
#birds_draw{ height:100%; width:100%; position:absolute; }
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
0 like 0 dislike
3 answers
0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
110,608 questions
257,187 answers
0 comments
40,796 users