Skip to Content

nebulaLoadCSS()

Load CSS files using JavaScript.

JavaScript February 22, 2017

Usage

JavaScript
nebulaLoadCSS(url)

Parameters

url
(Required) (String) The URL of the CSS resource
Default: None

Request or provide clarification »

Examples

Using the nebula.site.directory.template.uri object for theme resources.

JavaScript
nebulaLoadCSS(nebula.site.directory.template.uri + '/stylesheets/libs/flags.css');

Source File

This function was not found in /assets/js/nebula.js. Please report this error.

Override

To override or disable this JavaScript function, simply redeclare it with the exact same function name.

JavaScript
function nebulaLoadCSS(url){
    //Write your own code here, leave it blank, or return false.
}