开发者

Jquery - view port size alteration event?

Is there a cross browser solution to tri开发者_运维问答gger a function when a user alters the viewport size? I have a function that runs on load to set margins according to the viewport width, but also want it to recalculate if the viewport dimensions are altered.

Cheers Paul


$(window).resize(function() {...});
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜