Saturday, 15 February 2014

javascript - Refresh a HTML5 div while page is resizing -


Is it possible to refresh a partition when resizing an html page without setting a timer?

You can use window resize events such as

  $ (Window) .bind ('resize', function () {$ ("# mydiv"). Load (location.href + "#mydiv");});  

No comments:

Post a Comment