tags:

views:

75

answers:

1

I have a DIV that contains an activex control.

This control can resize itself depending on what buttons the user pokes.

When the control resizes itself, I would like to reposition the DIV.

How can I determine when the control or DIV size has changed without polling?

Can it be done?

A: 

Try putting an onresize event handler on the DIV.

Dan Breslau
Within the document you referenced: "This event does not fire for files with embedded controls."
Yeah, I saw that. But it also says that you can put an onresize handler on the OBJECT or EMBED elements. Note that the wording is that it doesn't apply to "files" with controls -- it may be that it's disabled for local disk files, for security reasons.
Dan Breslau