bg3075

Multi-frame application zoom level control?

Discussion created by bg3075 on Aug 5, 2013
Latest reply on Aug 8, 2013 by bg3075
I have created a multi-frame ArcGIS Javascript web application (i.e., multiple ContentPane's). I am finding that each ContentPane is showing up differently on different computers. I assume this is due to different screen resolutions. But, if use Ctrl+mouse wheel to change zoom level (using Internet Explorer 8 here), it eventually displays correctly. How to control (by CSS possibly) this on different machines / different resolutions?

I have tried different formats of this with no luck:
if ((screen.width=1680)
  document.body.style.zoom="100%"); 
  else document.body.style.zoom="85%";

Outcomes