var screen_w = $(window).width(),
screen_h = $(window).height();
$("img").width(screen_w+'px');
JS获取浏览器的宽和高
最新推荐文章于 2024-01-02 07:57:42 发布
var screen_w = $(window).width(),
screen_h = $(window).height();
$("img").width(screen_w+'px');