Skip to Main Content


Resizing region height when window is resized

Jeremy WebbJul 25 2013 — edited Jul 25 2013


I have a tree region, surrounded by <div>, the height of which is set on page load by a dynamic action so that it is 200px smaller than the window.innerHeight. I have set overflow:auto in the style so that the full free can still be viewed.

I now want a dynamic action which fires when the window is resized, which automatically adjusts the size of the region accordingly, so that the region always remains 200px smaller than the innerHeight of the window.

I can get the dynamic action to fire by setting the event to resize, however it does not change the size of the region.

Any ideas?


This post has been answered by Jeremy Webb on Jul 25 2013
Jump to Answer
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 22 2013
Added on Jul 25 2013
1 comment