jQuery event for images loaded

后端 未结 14 1526
离开以前
离开以前 2020-11-22 15:25

Is it possible to detect when all images are loaded via a jQuery event?

Ideally, there should be a

$(document).idle(function()
{
}

14条回答
  •  北荒
    北荒 (楼主)
    2020-11-22 15:38

    maybe this plugin may be useful: http://www.farinspace.com/jquery-image-preload-plugin/

提交回复
热议问题