Difference between revisions of "Html (UI Object)"
Jump to navigation
Jump to search
(Created page with "{{UI Object Header}} The Html UI Object allows custom HTML code to be embedded in the page. Please note that any script element or style element could modify the appearance o...") |
(→Syntax) |
||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
== Parameters == | == Parameters == | ||
− | *'''id''': the object's ID, used by UISets | + | *'''id''': the object's ID, used by UISets |
*'''position''': the object's position. Use the pixels or rows and columns coordinates format | *'''position''': the object's position. Use the pixels or rows and columns coordinates format | ||
*'''html''': the HTML code to be embedded in the page | *'''html''': the HTML code to be embedded in the page | ||
Line 15: | Line 15: | ||
E.g. | E.g. | ||
− | (html x3y0; (<div style="white-space:nowrap"><span style="color:navy; font-weight:bold">my</span> <a href="google.com">html code</a></div>)) | + | <nowiki>(html x3y0; (<div style="white-space:nowrap"><span style="color:navy; font-weight:bold">my</span> <a href="google.com">html code</a></div>))</nowiki> |
== UI Attributes == | == UI Attributes == |
Latest revision as of 11:47, 1 June 2020
The Html UI Object allows custom HTML code to be embedded in the page.
Please note that any script element or style element could modify the appearance or functionality of the whole interface. Use with caution.
Parameters
- id: the object's ID, used by UISets
- position: the object's position. Use the pixels or rows and columns coordinates format
- html: the HTML code to be embedded in the page
Syntax
(html!<id> <position>; <html code>)
E.g.
(html x3y0; (<div style="white-space:nowrap"><span style="color:navy; font-weight:bold">my</span> <a href="google.com">html code</a></div>))
UI Attributes
Common attributes
Name | Value | Description |
---|---|---|
pos | x<x>y<y> | Position specified as x/y coordinates. E.g. x-5y10 |
visible | true | Default. Show the object |
false | Hide the object | |
blink | true | slow | Blink the object at a slow speed |
fast | Blink the object at a fast speed | |
false | Stop the blinking | |
opacity | 0.0 ... 1.0 | Object opacity from 0 (not visible) to 1 (fully visible) |
rotation | 0 ... 360 | Object rotation in degrees. Images are rotated around the center point, all other objects are rotated around the top left corner |
Download attributes
Name | Value | Description |
---|---|---|
html | <string> | Set the HTML content |