javascript - Dialog and auto-height -


so replies created a jquery dialog. dialog has following settings:

$("#reply-window").dialog({   autoopen: false,   resizable: false,   modal: true,   autoresize: true }); 

there still scrollbar inside of dialog. if change css #reply-window to

height: xyzpx; 

i can modify height attribute. default

height: auto; 

the dialoge small , have deal scroll bar inside.

sorry answer, still can not write comments.

are using bootstrap? if yes, have on modal , use this. automatily scrollable , can put in whatever want


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -