Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== O4WDataStyle routine ====== ==== Description ==== For advanced users. Creates a "style" based on the attribute name and associated value (both <style> and <value> can be @FM delimited). ==== Syntax ==== O4WDataStyle(ID, dataName, dataValue) ==== Parameters ==== The function has the following parameters: ^Parameter^Description^ |id|The identifier of the style.| |dataName|Any HTML5 data attribute. For example, data-name, data-location, etc.| |dataValue|Any allowed value for the specific attribute.|| ==== Returns ==== Returns the style information (to use immediately with a display element or input control), and (if <stylename> is not null) defines the style by the stylename for use with one or more elements and input controls. ==== Remarks ==== Using this API, you can create your own HTML5 "data" attributes. You can also specify values that are needed by pre-defined styles, such as those defined by jQuery. guides/o4w/o4w_api/o4wdatastyle.txt Last modified: 2024/06/19 20:19by 127.0.0.1