| | |
| | | heightsp = bottomspace; |
| | | } |
| | | blockHeight = j$(window).innerHeight() - j$(escapeVfId('allPage:allForm:searchBlock')).height() - heightAjustment; |
| | | // console.log(j$(window).innerHeight() +'-'+ j$(escapeVfId('allPage:allForm:searchBlock')).height() +'-'+ heightAjustment+'-'+heightsp); |
| | | blockHeight = blockHeight - heightsp; |
| | | |
| | | sbwidth = scrollbarWidth(); |
| | | // 20230531 ljh start |
| | | // blockWidth = j$(escapeVfId('allPage:allForm:searchBlock')).width() - j$('div#out_Div_L').width() - widthAjustment - sbwidth - 20; |
| | | blockWidth = j$(escapeVfId('allPage:allForm:searchBlock')).width() - j$('div#out_Div_L').width(); |
| | | blockWidth = j$(escapeVfId('allPage:allForm:searchBlock')).width() - j$('div#out_Div_L').width()- sbwidth; |
| | | // 20230531 ljh end |
| | | //コンポネートなのでIDを変更 |
| | | // 20230519 ljh start |
| | |
| | | // 20230519 ljh 增记if判断 |
| | | // j$('div#out_Div').css('width', (blockWidth + sbwidth) + 'px'); |
| | | // j$('div#in_Div').css('width', (blockWidth + sbwidth) + 'px'); |
| | | if (j$('table#tableData').width() > j$('div#in_Div').width()) { |
| | | j$('div#out_Div').css('width', (blockWidth) + 'px'); |
| | | j$('div#in_Div').css('width', (blockWidth) + 'px'); |
| | | // 20230704 ljh start |
| | | if(blockWidth > 1000){ |
| | | // j$('div#out_Div').css('width', (blockWidth) + 'px'); |
| | | // j$('div#in_Div').css('width', (blockWidth) + 'px'); |
| | | if (j$('table#tableData').width() > j$('div#in_Div').width()) { |
| | | j$('div#out_Div').css('width', (blockWidth) + 'px'); |
| | | j$('div#in_Div').css('width', (blockWidth) + 'px'); |
| | | } |
| | | }else{ |
| | | j$('table#tableData').css('width', (blockWidth) + 'px'); |
| | | j$('table#tableHeader').css('width', (blockWidth) + 'px'); |
| | | } |
| | | // if (j$('table#tableData').width() > j$('div#in_Div').width()) { |
| | | // j$('div#out_Div').css('width', (blockWidth) + 'px'); |
| | | // j$('div#in_Div').css('width', (blockWidth) + 'px'); |
| | | // } |
| | | // 20230704 ljh end |
| | | } |
| | | if (j$('table#tableData').width() > j$('div#in_Div').width()) { |
| | | j$('div#in_Div').css('height', (blockHeight + sbwidth) +'px'); |