How to assign THREE.js scene position: abosolute?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
23 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 | 23 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,186 answers
0 comments
35,405 users