1 Reply Latest reply on Jul 25, 2013 9:51 AM by Jezzer

    Resizing region height when window is resized




      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?