Web Widget
The Web Widget allows you to embed web content into the Vantage touchscreen.
You will be able to integrate simple web pages or embed more complex web dynamic widgets into your graphics.
Vantage Touchscreen Designer no longer supports web content elements, and the method now used to insert a web widget into touchscreen designer is as follows:
Configure an Web Widget
- Create a Button
- Enter the XML
webobject
element (as text) into the first line of the Text field
Web Widget XML format
<webobject url="{url}" clickable="{true|false}" transparent="{ true|false }" />
Element: webobject
Attributes:
Attribute | Required | Values | Default | Note |
---|---|---|---|---|
url | yes | https://sample.com/page | - | The URL of the web page to display |
clickable | no | true or false | true | true to enable the user interaction |
transparent | no | true or false | false | true to set the background of the web widget as transparent |
Web Widget value examples
<webobject url="https://www.google.com" />
<webobject url="https://www.google.com" clickable="false" transparent="true" />
<webobject url="https://www.google.com" clickable="false" />
<webobject url="https://www.google.com" transparent ="true" />
warning
It is important to write the protocol (e.g. http://, or https://) for the URL attribute.