Resize WebDialogBox dynamically

1 reply. Last post: March 14, 2010 10:57 PM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

Hello,

I can't seem to figure out if there's a way to resize the WebDialogBox after it has been opened?  I'd like to make it fit the size of the contents:

function ResizeWindow(webDialogId) {
var wdb;
var form = document.getElementById("form1");

wdb = parent.ISGetObject(webDialogId);

if (wdb) {
wdb.Height = form.offSetHeight;
wdb.Width = form.offSetWidth;
}
}

Is something along these lines possible?

All times are GMT -5. The time now is 7:01 AM.
Previous Next