Кстати, если кому вдруг понадобится разрешение 1280x800 без учёта device pixel ratio на ВП110, можно воспользоваться кодом ниже. Его нужно заменить в файле /PlcLogic/visu/webvisu.htm
Проверил - работает.
Код HTML:<!DOCTYPE html> <html> <head> <meta name="viewport" content="user-scalable=no"> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <script language="javascript" src="webvisu.js"></script> <script language="javascript" src="browsercontrol_ext0.js"></script> </head> <body onload="new Webvisu('background', 'foreground', false, false)"> <div id="cdsRoot" style="position: absolute; left: 0px; top: 0px; width: 1280px; height:800px; overflow:hidden; transform:scale(0.765625); transform-origin: top left;"> <canvas id="background" width="1280" height="800" style="position: absolute; left: 0px; top: 0px;">Webvisu not supported due to missing browser feature HTML5-Canvas</canvas> <canvas id="foreground" width="1280" height="800" style="position: absolute; left: 0px; top: 0px;">Webvisu not supported due to missing browser feature HTML5-Canvas</canvas> </div> </body> </html>




Ответить с цитированием