Forum Stats

  • 3,872,212 Users
  • 2,266,407 Discussions


Resizing region height when window is resized

Jeremy Webb
Jeremy Webb Member Posts: 259 Blue Ribbon
edited Jul 25, 2013 5:51AM in APEX Discussions


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?



Best Answer


This discussion has been closed.