Resizing IE Modal Dialog in JavaScript
If you open an IE Modal Dialog window and later on need to resize it using JavaScript code, standard “window.resizeTo” method doesn’t work. Use dialogWidth and dialogHeight instead. For example:
window.dialogWidth='640px'; window.dialogHeight='480px';
works great for me. thanks
I’m can’t seem to get this working could you help me?
@Joshua Chavez The code is pretty straightforward and shouldn’t cause any problems. Are you using Internet Explorer and JavaScript function showModalDialog? Can you post snippets of your code?
Too good…..thanks a tone…u made my day….
Worked great! I must have searched 25 sites/blogs before i found this one, and this is the only fix that worked. Thanks Yuriy!