导航栏的高度问题

<script>

        $(function(){

             var right = $("#right").height();

   //2000的高度是在样式中写死的

          if(right>2000) {

            $("#left").css("height",right+"px");

                }

      })

</script>

原文地址:https://www.cnblogs.com/agansj/p/7196503.html