====== O4WPlugIn routine ====== ==== Description ==== The web framework O4W uses allows "plugins" to be specified for client-side functions. ==== Syntax ==== O4WPlugIn(id, functionName, options) ==== Parameters ==== The function has the following parameters: ^Parameter^Description^ |id|The name of the O4W control (display element or input control) which should be "attached" to the plugin.| |functionName|The name of the plugin function to invoke.| |options|Any options that you wish to pass to the plugin.|| ==== Remarks ==== Note that most plugins require an additional script to be added to your web page (see the O4WScript function), and possibly style sheets (see the O4WStyleSheet function). ==== Example ==== * To apply the jQuery "TableSorter" plugin to a table named RESULTS: O4WScript("/weboi/O4W/jquery.tablesorter.min.js") O4WScript("/weboi/O4W/jquery.tablesorter.pager.js") O4WStyleSheet("/weboi/O4W/style.css") O4WPlugIn("RESULTS", "tablesorter", "{widthFixed: true, widgets: ['zebra']}" )