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.width/BX.height
Returns (or specifies) the with, height of a DOM element. Dom element is passed via the first parameter. If you choose not to pass the second parameter (integer value), the the value of width or height is returned. If it is passed - the value is specified.
Examples of use
BX.height(BX('adm-title')); BX.height(BX('adm-title'), 1000);
© «Bitrix24», 2001-2024
Up