pui.loadCSS( path )



This function loads an external Cascading Style Sheet file on the fly.  The function returns false if the CSS file was already loaded; otherwise, true is returned.

Parameter:

  • path - the path to the cascading style sheet file

Example:

pui.loadCSS("/profoundui/userdata/css/myfile.css");