伊人怎会持宠而骄
希望有人懂你的低头不语、小心翼翼守护你的孩子气
function getMinHeightIndex(){
          //假设第一列是最小高度列
          var minHeight = cols[0].offsetHeight;
          var minHeightIndex = 0;//假设的下标
          //遍历五个列 找最小高度
          for( var i = 0 ; i < cols.length ; i++ ){
              if( cols[i].offsetHeight < minHeight ){
                   minHeight = cols[i].offsetHeight;
                   minHeightIndex = i;
              }
          }
          return minHeightIndex;
     }
posted on 2019-01-21 10:22  伊人怎会持宠而骄  阅读(121)  评论(0编辑  收藏  举报