Display sizing, Add a component with an .inf file – Rockwell Automation FactoryTalk Historian SE ActiveView 3.2 User Guide User Manual

Page 58

Advertising
background image

FactoryTalk Historian ActiveView User Guide

50

Display Sizing

Browser windows may vary from one user to another. To make a display
resize appropriately as the browser window size changes, set the HTML
OBJECT tag's Height and Width properties using either pixels or
percentages. With pixels, the display size remains constant, regardless of
the browser window size. With percentages, the display size adjusts when a
user resizes the browser window.

Examples:

With pixels:

<object id = "Pbd1"
width = "382"
height = "191"
classid = "CLSID:4F26B906-2854-11D1-9597-
00A0C931BFC8">

With percentages:

<object id = "Pbd1"
width = "80%"
height = "50%"
classid = "CLSID:4F26B906-2854-11D1-9597-
00A0C931BFC8">

Add a Component with an .inf File

Any additional components (such as ActiveX controls) necessary to view a
display can also be downloaded automatically through the Web.

If the additional component is installed with an .inf file, you can add code
similar to the following to your HTML file before the ActiveView Control
OBJECT tag:

<object id = "UserControl1"
width = 0
height = 0
classid = "CLSID:xxxxxxxx-xxxx-xxxx-xxxx-
xxxxxxxxxxxx"
codebase =

Advertising