function adjustmentColumnSize(uiElementID, elementAID, elementBID) {
    var pageWidth = $('#content').innerWidth();
    var elementUWidth = $('#' + uiElementID).width();
    var elementBWidth = $('#' + elementBID).width();

    elementUWidth = (100 * elementUWidth) / pageWidth;
    if(elementBID == 'showLeftPanel' || elementBID == 'showPreview'){
        elementBWidth = showButtonsPercentWidth;
    }else {
        elementBWidth = (100 * elementBWidth) / pageWidth;
    }
    var elementAWidth = 100 - elementBWidth - elementUWidth;

    $('#' + elementBID).width(elementBWidth + '%');
    $('#' + elementAID).width(elementAWidth + '%');
    $('#' + uiElementID).width(elementUWidth + '%');
}
/**
 * Resize elementA to size of page width minus elemntU width and elementB width.
 * @param uiElementID element which was resize
 * @param elementAID element which will be resize
 * @param elementBID third element which is on the page and will not be resize
 */
Resize elementA to size of page width minus elemntU width and elementB width.
@param uiElementID element which was resize
@param elementAID element which will be resize
@param elementBID third element which is on the page and will not be resize
Resize elementA to size of page width minus elemntU width and elementB width . @param uiElementID element which was resize @param elementAID element which will be resize @param elementBID third element which is on the page and will not be resize
function adjustmentColumnSize(uiElementID, elementAID, elementBID) {
    var pageWidth = $('#content').innerWidth();
    var elementUWidth = $('#' + uiElementID).width();
    var elementBWidth = $('#' + elementBID).width();
    elementUWidth = (100 * elementUWidth) / pageWidth;
    if(elementBID == 'showLeftPanel' || elementBID == 'showPreview'){
        elementBWidth = showButtonsPercentWidth;
    }else {
        elementBWidth = (100 * elementBWidth) / pageWidth;
    }
    var elementAWidth = 100 - elementBWidth - elementUWidth;
    $('#' + elementBID).width(elementBWidth + '%');
    $('#' + elementAID).width(elementAWidth + '%');
    $('#' + uiElementID).width(elementUWidth + '%');
}
function adjustmentColumnSize ( uiElementID , elementAID , elementBID ) { var pageWidth = $ ( '#content' ) . innerWidth ( ) ; var elementUWidth = $ ( '#' + uiElementID ) . width ( ) ; var elementBWidth = $ ( '#' + elementBID ) . width ( ) ; elementUWidth = ( 100 * elementUWidth ) / pageWidth ; if ( elementBID == 'showLeftPanel' || elementBID == 'showPreview' ) { elementBWidth = showButtonsPercentWidth ; } else { elementBWidth = ( 100 * elementBWidth ) / pageWidth ; } var elementAWidth = 100 - elementBWidth - elementUWidth ; $ ( '#' + elementBID ) . width ( elementBWidth + '%' ) ; $ ( '#' + elementAID ) . width ( elementAWidth + '%' ) ; $ ( '#' + uiElementID ) . width ( elementUWidth + '%' ) ; }
Resize elementA to size of page width minus elemntU width and elementB width.
Resize elementA to size of page width minus elemntU width and elementB width .