I have the following code on a forms ONLOAD event to open a document in notes client in a non-modal dialog.
win_name=‘Log’ + Math.random();
url=‘notes://’ +document.forms[0].servername.value + ‘/’ + document.forms[0].dbpath.value+‘/db.nsf/formname?openform’;
window.open(url,win_name,‘Height=595,Width=423,Top=100,Left=100, scrollbars = no’)
This used to work fine till 8.5 client, after I upgraded to 8.5.1 client the height and width parameter are not considered anymore. The window opens with a random height/width.
Regards,
Ravi