height - Resize javascript window -


How do I apply a resize event to this code, so it gets a new height of the window if its change $ (document) .ready (function () {$ ("# page"). Height ($ (window). Light ());});

  $ (function () {$ (window). Resize (function () {$ ("# Page") height ($ (this). Light ());}). Resize ();});   

As you can see, I have also shortened $ (document) .ready (function () {}) bus $ (Function () {}) .

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

memcached - Django cache performance -