General Introduction
BX
BX.extend
BX.message
BX.bitrix_sessid
BX.create
BX.adjust
BX.addClass/BX.removeClass
BX.focus
BX.isNodeHidden
BX.scrollToNode
BX.selectUtils.*
BX.setOpacity
BX.setUnselectable/BX.setSelectable
BX.toggleClass
BX.width/BX.height
BX.cleanNode
BX.hasClass
BX.style
BX.remove
Search functions
BX.style
string|DOMNode BX.style( DOMNode node, string property[, string value] );
The function allows to retrieve the current property style value for the node or specify it in the value. Property is specified in the CSS-notation (for example, 'margin-right')
Example
BX.style(document.body, 'padding', '200px 100px'); alert(BX.style(document.body, 'padding-top')); //200px
© «Bitrix24», 2001-2024
Up