Documentation

BX.loadCSS

DOMNode|array
BX.loadCSS(
 string|array css[,
 DOMDocument document]
);

The function loads CSS-file (or array of CSS-files) and applies them to the current or specified document.

Function parameters

Parameter Description
css css-file or array of css-files.
DOMDocument document Document to which the selected file must be applied.

Returned value

Function returns link to the LINK object link (or array of links).



© «Bitrix24», 2001-2024
Up