17.2 ADD_3RD_PARTY_LIBRARY_FILE Procedure (Deprecated)
This procedure adds the link tag to load a third-party CSS file and also takes into account the specified CDN (content delivery network) for the application.
Supported libraries include:
- jQuery
- jQueryUI
If a library has already been added, it is not added a second time.
Syntax
APEX_CSS.ADD_3RD_PARTY_LIBRARY_FILE (
p_library IN VARCHAR2,
p_file_name IN VARCHAR2 DEFAULT NULL,
p_directory IN VARCHAR2 DEFAULT NULL,
p_version IN VARCHAR2 DEFAULT NULL,
p_media_query IN VARCHAR2 DEFAULT NULL,
p_attributes IN VARCHAR2 DEFAULT NULL )
Parameters
Parameters | Description |
---|---|
p_library |
Use one of the c_library_* constants.
|
p_file_name |
Specifies the file name excluding version, .min , and .css .
|
p_directory |
(Optional) Directory where the file p_file_name is located.
|
p_version |
(Optional) If no value is provided, then uses the same version shipped with APEX. |
p_media_query |
(Optional) Value that is set as media query. |
p_attributes |
Extra attributes to add to the link tag. Note: Callers are responsible for escaping this parameter. |
Example
The following example loads the Cascading Style Sheet file of the Accordion component of the jQuery UI.
apex_css.add_3rd_party_library_file (
p_library => apex_css.c_library_jquery_ui,
p_file_name => 'jquery.ui.accordion' )
Parent topic: APEX_CSS