//1.文档和图片都加在完毕后,执行js代码
widow.onload = function () {};
$(window).ready(function () {});
//2.文档加载完,图片没有加载完,就执行js代码
$(function () {});
$(document).ready(function () {});
//1.文档和图片都加在完毕后,执行js代码
widow.onload = function () {};
$(window).ready(function () {});
//2.文档加载完,图片没有加载完,就执行js代码
$(function () {});
$(document).ready(function () {});