2014-04-09 51 views

回答

1

您應該使用resize()

例如:視口或頁面的高度與它裏面的內容的

$(window).resize(function() { 
    console.log($(window).height()); 
}); 
相關問題