chandua
asked on
dynamic resizing of activex control in a pop up window
Hi,
i am trying to get the activex control dynamically resized based on the size of popup window.
popup window contains a activex control , i set it to a default size when loaded.
what i want to achieve is when the user resizes the popup, even the activex shld resize accordingly.
is that possible?
i am trying to get the activex control dynamically resized based on the size of popup window.
popup window contains a activex control , i set it to a default size when loaded.
what i want to achieve is when the user resizes the popup, even the activex shld resize accordingly.
is that possible?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
hi justinbillig,
i can't set to NO as i need to have this functionality.
i was trying to implement your first answer,
window.onResize = OnResize;
where i wud ablr to set this as i open the popup window using window.open()
pls reply asap.
i can't set to NO as i need to have this functionality.
i was trying to implement your first answer,
window.onResize = OnResize;
where i wud ablr to set this as i open the popup window using window.open()
pls reply asap.
put it in the page that you open
so if your line looks like this
window.open( "http://www.domain.com/axtivex.html" );
in axtivex.html put that function
so if your line looks like this
window.open( "http://www.domain.com/axtivex.html" );
in axtivex.html put that function
ASKER
i hit the the following err on "undefined"
event.height;
event.height;
try window.height / window.width
ASKER
hi i get it as invalid arguement.
i tried document.Form1.clientHeigh t
its the same err
i tried document.Form1.clientHeigh
its the same err
ASKER
Hi justinbilling,
i used document.body.clientHeight & it worked.
anyways thanks for getting it going.
i used document.body.clientHeight
anyways thanks for getting it going.
http://devguru.com/Technologies/ecmascript/quickref/win_open.html
window.open( "URL", "TITLE", "resizable=no;" );