Responsive layout, javascript element resize

Hi,

hypeDocument.getElementById(‘box’).style.height= ‘100px’ works fine only in fixed layout,

there’s a way to resize element with javascript in a responsive layout?

Try this…

hypeDocument.setElementProperty(element, 'height', 100)

I’m not sure why your script does not work with responsive layouts.

it works! Thanks!!! :slight_smile:

btw, you can replace the word ‘element’ with your unique element ID (in your case ‘box’)