Difference between revisions of "Background"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | + | {{UI Object Header}} | |
− | + | Page's background image. | |
+ | |||
+ | == Parameters == | ||
+ | *'''id''': the object's ID, used by UISets | ||
+ | *'''image''': image file name | ||
+ | |||
+ | {{Note: IMG Filename}} | ||
+ | == Syntax == | ||
+ | (background<!id> <image filename>) | ||
+ | E.g. | ||
+ | (3button autom.1; x10y20; Garage Door) | ||
+ | |||
+ | == UI Attributes == | ||
+ | {{:UI Object Attributes (Image)}} |
Revision as of 11:02, 13 January 2014
Page's background image.
Parameters
- id: the object's ID, used by UISets
- image: image file name
Image files are searched inside the www/<project's name>/img directory first, then inside the www/img directory.
If the filename is set with a UISet, it's possible to load an image from the web by entering the URL, or a path relative to www/<skin's name>/pic by specifying /pic/ followed by the filename
If the filename is set with a UISet, it's possible to load an image from the web by entering the URL, or a path relative to www/<skin's name>/pic by specifying /pic/ followed by the filename
Syntax
(background<!id> <image filename>)
E.g.
(3button autom.1; x10y20; Garage Door)