Resize elements

I would like to be able to do something like $w('#some_element').height(200) to change an element’s height to 200 pixels.

Specifically, I have an HTML Component who’s height changes as you interact with it. I’ve used the postMessage/onMessage calls to report the new height back to wix as it changes, but now I have no way to tell the iframe to resize itself.

2 Likes