So I have a gadget the occasional needs to pop up some divs above the
gadget. The divs can be of variable height, as they contain text and
possibly image data from the web.
To accomplish this, I was thinking I could resize the view height.
This is pretty straightforward, if one uses view.resizeBy().
However, if I resize the view, the new height exists *underneath* the
current height, rather than above. The only way for the new popup divs
to appear above the gadget would be to resize the view, then push the
gadget's main div down by the same amount that I increase the view by.
The result of this just looks weird. When new data appears, the gadget
moves down, rather than the new data appearing above the gadgets.
Ideally I could move the view's y coordinate by the same number of
pixels that I move the height (the maintain the appearance of the
gadget staying in place), but it doesn't seem possible.