admin/public/js/plugins/dataTables/jquery.dataTables.js
function _fnScrollBarWidth ()
	{
		// On first run a static variable is set, since this is only needed once.
		// Subsequent runs will just use the previously calculated value
		if ( ! DataTable.__scrollbarWidth ) {
			var inner = $('<p/>').css( {
				width: '100%',
				height: 200,
				padding: 0
			} )[0];
	
			var outer = $('<div/>')
				.css( {
					position: 'absolute',
					top: 0,
					left: 0,
					width: 200,
					height: 150,
					padding: 0,
					overflow: 'hidden',
					visibility: 'hidden'
				} )
				.append( inner )
				.appendTo( 'body' );
	
			var w1 = inner.offsetWidth;
			outer.css( 'overflow', 'scroll' );
			var w2 = inner.offsetWidth;
	
			if ( w1 === w2 ) {
				w2 = outer[0].clientWidth;
			}
	
			outer.remove();
	
			DataTable.__scrollbarWidth = w1 - w2;
		}
	
		return DataTable.__scrollbarWidth;
	}
function _fnScrollBarWidth ()
	{
		// On first run a static variable is set, since this is only needed once.
		// Subsequent runs will just use the previously calculated value
		if ( ! DataTable.__scrollbarWidth ) {
			var inner = $('<p/>').css( {
				width: '100%',
				height: 200,
				padding: 0
			} )[0];
	
			var outer = $('<div/>')
				.css( {
					position: 'absolute',
					top: 0,
					left: 0,
					width: 200,
					height: 150,
					padding: 0,
					overflow: 'hidden',
					visibility: 'hidden'
				} )
				.append( inner )
				.appendTo( 'body' );
	
			var w1 = inner.offsetWidth;
			outer.css( 'overflow', 'scroll' );
			var w2 = inner.offsetWidth;
	
			if ( w1 === w2 ) {
				w2 = outer[0].clientWidth;
			}
	
			outer.remove();
	
			DataTable.__scrollbarWidth = w1 - w2;
		}
	
		return DataTable.__scrollbarWidth;
	}
function _fnScrollBarWidth ( ) { // On first run a static variable is set, since this is only needed once.
 // Subsequent runs will just use the previously calculated value
 if ( ! DataTable . __scrollbarWidth ) { var inner = $ ( '<p/>' ) . css ( { width : '100%' , height : 200 , padding : 0 } ) [ 0 ] ; var outer = $ ( '<div/>' ) . css ( { position : 'absolute' , top : 0 , left : 0 , width : 200 , height : 150 , padding : 0 , overflow : 'hidden' , visibility : 'hidden' } ) . append ( inner ) . appendTo ( 'body' ) ; var w1 = inner . offsetWidth ; outer . css ( 'overflow' , 'scroll' ) ; var w2 = inner . offsetWidth ; if ( w1 === w2 ) { w2 = outer [ 0 ] . clientWidth ; } outer . remove ( ) ; DataTable . __scrollbarWidth = w1 - w2 ; } return DataTable . __scrollbarWidth ; }
Get the width of a scroll bar in this browser being used
@returns {int} width in pixels
@memberof DataTable#oApi
Get the width of a scroll bar in this browser being used