yxpblog
window.onscroll = function () { sc(); };
window.onresize = function () { sc(); };
window.onload = function () { sc(); };
function sc() {
    var h = document.documentElement.clientHeight - 80;
    $("#result").css({ height: h });
    $("#result").css("overflow-y", "scroll");
    $("#result").css("overflow-x", "scroll");
}

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-01-02
  • 2021-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-23
  • 2021-12-23
  • 2021-12-29
  • 2021-12-23
  • 2021-12-23
  • 2021-12-23
  • 2021-09-08
相关资源
相似解决方案