Docs: HTMLID() snippet
Posted:
Sun Aug 07, 2016 4:45 am
by Electroguard
It would be handy to include a HTMLID() docs example snippet to illustrate use.
Re: Docs: HTMLID() snippet
Posted:
Mon Aug 08, 2016 12:26 am
by Mmiscool
Looks like it is in there. See the cssid command. It allows for setting of css atributes of eliment by id.
CSSID:
The cssid command will apply css to the desired item by id. This should be executed immediately after creating a gui object.
Example:
cssid htmlid(), "background-color: yellow;"
CSSCLASS:
The cssclass command will apply css to the desired class of gui objects.
Example: Will set all buttons to color yellow.
cssclass "button", "background-color: yellow;"