javascript - showModalDialog - Is it possible to Dynamically Resize? -


i'm using showmodaldialog opening dialog inside dialog, although dialog have more fields depending on information required. possible make resize dynamically rather giving fixed size?

    showmodaldialog(     v_location,     '',     'dialogheight:260px; dialogwidth:560px; edge: raised; center: yes; help: no; resizable: no; status: yes; scroll: yes' ); 

try one:

   showmodaldialog( v_location, '', 'dialogheight:260px; dialogwidth:560px; edge: raised; center: yes; help: no; resizable: yes; status: yes; scroll: yes'); 

that give window can resized user/visitor. , yes possible dynamically change size of windows based example on screen resolution, need replace 'dialogheight:260px; dialogwidth:560px;...' 'dialogheight:<%=windowsheight%>px; dialogwidth:<%=windowwidth%>px;...' specifics depend on needs are.


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -