【问题标题】:How can I make jQuery and the Animate.css library detect when a page is fully loaded?如何让 jQuery 和 Animate.css 库检测页面何时完全加载?
【发布时间】:2021-04-12 16:18:13
【问题描述】:

我正在使用 jQuery 和 Animate.css 库为我的登录页面上的文本设置动画。如何检测页面何时完成加载,以便调用函数为登录页面设置动画。

【问题讨论】:

标签: html jquery css


【解决方案1】:
$( document ).ready(function() {
    console.log( "ready!" );
});

更多:https://learn.jquery.com/using-jquery-core/document-ready/

【讨论】:

    猜你喜欢
    • 2013-03-10
    • 2016-06-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-08-09
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多