A customer needed to create a custom website gadget that displayed content. It need to resize to fit the size of the gadget when it was included in an Interactive Dashboard with a flexible layout.
I needed a method of finding the height and width of the…