var screen_w = $(window).width(),
screen_h = $(window).height();
$("img").width(screen_w+'px');
JS获取浏览器的宽和高
猜你喜欢
转载自blog.csdn.net/zhangchb/article/details/80500491
今日推荐
周排行