js/OverlayScrollbars.js
function getScrollbarVars(isHorizontal) {
                    return {
                        _width_height: isHorizontal ? _strWidth : _strHeight,
                        _Width_Height: isHorizontal ? 'Width' : 'Height',
                        _left_top: isHorizontal ? _strLeft : _strTop,
                        _Left_Top: isHorizontal ? 'Left' : 'Top',
                        _x_y: isHorizontal ? _strX : _strY,
                        _X_Y: isHorizontal ? 'X' : 'Y',
                        _w_h: isHorizontal ? 'w' : 'h',
                        _l_t: isHorizontal ? 'l' : 't',
                        _track: isHorizontal ? _scrollbarHorizontalTrackElement : _scrollbarVerticalTrackElement,
                        _handle: isHorizontal ? _scrollbarHorizontalHandleElement : _scrollbarVerticalHandleElement,
                        _scrollbar: isHorizontal ? _scrollbarHorizontalElement : _scrollbarVerticalElement,
                        _info: isHorizontal ? _scrollHorizontalInfo : _scrollVerticalInfo
                    };
                }
function getScrollbarVars(isHorizontal) {
                    return {
                        _width_height: isHorizontal ? _strWidth : _strHeight,
                        _Width_Height: isHorizontal ? 'Width' : 'Height',
                        _left_top: isHorizontal ? _strLeft : _strTop,
                        _Left_Top: isHorizontal ? 'Left' : 'Top',
                        _x_y: isHorizontal ? _strX : _strY,
                        _X_Y: isHorizontal ? 'X' : 'Y',
                        _w_h: isHorizontal ? 'w' : 'h',
                        _l_t: isHorizontal ? 'l' : 't',
                        _track: isHorizontal ? _scrollbarHorizontalTrackElement : _scrollbarVerticalTrackElement,
                        _handle: isHorizontal ? _scrollbarHorizontalHandleElement : _scrollbarVerticalHandleElement,
                        _scrollbar: isHorizontal ? _scrollbarHorizontalElement : _scrollbarVerticalElement,
                        _info: isHorizontal ? _scrollHorizontalInfo : _scrollVerticalInfo
                    };
                }
function getScrollbarVars ( isHorizontal ) { return { _width_height : isHorizontal ? _strWidth : _strHeight , _Width_Height : isHorizontal ? 'Width' : 'Height' , _left_top : isHorizontal ? _strLeft : _strTop , _Left_Top : isHorizontal ? 'Left' : 'Top' , _x_y : isHorizontal ? _strX : _strY , _X_Y : isHorizontal ? 'X' : 'Y' , _w_h : isHorizontal ? 'w' : 'h' , _l_t : isHorizontal ? 'l' : 't' , _track : isHorizontal ? _scrollbarHorizontalTrackElement : _scrollbarVerticalTrackElement , _handle : isHorizontal ? _scrollbarHorizontalHandleElement : _scrollbarVerticalHandleElement , _scrollbar : isHorizontal ? _scrollbarHorizontalElement : _scrollbarVerticalElement , _info : isHorizontal ? _scrollHorizontalInfo : _scrollVerticalInfo } ; }
Returns a object which is used for fast access for specific variables.
@param isHorizontal True if the horizontal scrollbar vars shall be accessed, false if the vertical scrollbar vars shall be accessed.
@returns {{wh: string, WH: string, lt: string, _wh: string, _lt: string, t: *, h: *, c: {}, s: *}}
Returns a object which is used for fast access for specific variables .