function _getHeight() {
            var height = parseInt(document.body.offsetHeight, 10);
            var styles = document.defaultView.getComputedStyle(document.body);
            height += parseInt(styles.getPropertyValue('margin-bottom'), 10);
            height += parseInt(styles.getPropertyValue('margin-top'), 10);
            return height; 
        }
/**
         * Get the current document height.
         * @return {int} Height integer
         */
Get the current document height.
@return {int} Height integer
Get the current document height . @return { int } Height integer
function _getHeight() {
            var height = parseInt(document.body.offsetHeight, 10);
            var styles = document.defaultView.getComputedStyle(document.body);
            height += parseInt(styles.getPropertyValue('margin-bottom'), 10);
            height += parseInt(styles.getPropertyValue('margin-top'), 10);
            return height; 
        }
function _getHeight ( ) { var height = parseInt ( document . body . offsetHeight , 10 ) ; var styles = document . defaultView . getComputedStyle ( document . body ) ; height += parseInt ( styles . getPropertyValue ( 'margin-bottom' ) , 10 ) ; height += parseInt ( styles . getPropertyValue ( 'margin-top' ) , 10 ) ; return height ; }
Get the current document height.
Get the current document height .