jQuery: detecting a browser resize

前端 未结 2 1616
醉话见心
醉话见心 2021-02-04 08:27

I am using this script from snipplr, How would I set it so the container div is 100px less than the newWindowHeight height, like -100 or something.



        
2条回答
  •  再見小時候
    2021-02-04 08:59

    I have just seen the HTML event called "onResize" which belongs to especially tag It will have more performance then java detection with this usage I think.

    
    

    I hope it will help you guys..

提交回复
热议问题