var contextBlockHeight = document.getElementById(‘contextBlock‘).clientHeight; if ( contextBlockHeight > 430) { contextBlockHeight = contextBlockHeight + 50; document.getElementById(‘middleContextBlock‘).style.height = contextBlockHeight + "px"; }
<div id="contextBlock" class="mTop5 contextArea fontSize13"> </div>
时间: 2024-10-05 19:24:24