Hi, I am trying to make a variable background to be shown in a webviewer.
I checked the value of the webviewer height (427px) and width (360px) I am having problems sizing and placing my images using canvas.drawImage() so I checked using alert in javascript window.innerheight 583(px) and window.innerwidth (492px). The widths and height are diifferent (by about 36.5%). This would be fine if all devices would have the same webviewer dimensions as I could multiply the difference but.......
My question how do I to get the inner height and width values so that they can be used while making a html/javascript file