//JS判断页面加载完毕,再隐藏加载效果层,一个简单的JS加载效果。
    document.onreadystatechange = function () {
        if (document.readyState == "complete") {
            var page = DF.URLHash.get("page");
            if (typeof (page) != "undefined" && page != "page1.html") {
                setTimeout("$('html,body').animate({ scrollTop: $('a[name=" + page + "]').offset().top }, 2000); ", 0);
            }
        }
    }

 

相关文章:

  • 2022-01-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
猜你喜欢
  • 2021-12-24
  • 2021-11-18
  • 2022-12-23
  • 2022-12-23
  • 2022-01-01
  • 2022-12-23
  • 2021-05-22
相关资源
相似解决方案