javascript - How to create array for getelementbyid to div more than 2 id of images for perspective tranformation with matrix 3 d -


i new , not experienced coding, have been trying many different ways of array converting getelementbyid('screen')to class or array, can have more 1 image when using`, nothing seem work. tried below code, can shed light on wrong. original script fine, cannot seem add more 1 image perspective transformation. ve tried many , lost track use advises regarding id class etc.. thanks

here link http://jsfiddle.net/rjw57/a6pgy/

var imgelement = document.getelementbyid('screen'); imgelement.style.display = 'none';  var screenimgelement = new image(); screenimgelement.crossorigin = ''; screenimgelement.onload = loadscreentexture; screenimgelement.src = imgelement.src; 


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -