Resize WebDialogBox using javascript

3 replies. Last post: December 11, 2013 10:47 PM by Bernard Xiang
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
roi ukashiMember

Hi all,


I'm trying to resize WebDialogBox via javascript:

function OpenDialog_Modal(dialogParams) {
    _dialogParams = dialogParams;
    var _Dlg_Model_Dialog = ISGetObject("Dlg_Model_Dialog");    
    _Dlg_Model_Dialog.SetContentURL(_dialogParams.url);
    _Dlg_Model_Dialog.Height = _dialogParams.height;
    _Dlg_Model_Dialog.Width = _dialogParams.width;
    _Dlg_Model_Dialog.ShowDialog();
    
}

 It all works well for the first time OpenDialog_Modal is called with certain params.

Calling it again, with different width & height does not seem to resize the WebDialogBox

 with previous size elemetns called.


What am I missing?

All times are GMT -5. The time now is 3:03 AM.
Previous Next