javascript - Expanding of modal window -


i have angular/bootstrap app , modal window of app contains small textarea can contain lot of text not fit size of textarea (and modal).

i add kind of button small modal window open new bigger popup/modal containing nicely formatted content of text area, 90% of screen.

i not asking here code, more way how approach problem. have tried several approaches got stuck always.

thanks lot!

i use javascript handle click of button expand modal size, adding class modal.

e.g. jquery example:

$('.expand-modal').click(function() {     $('.modal').addclass('expanded'); }); 

and write css .modal.expanded ensure it's 90% of screen size or whatever want.

you want button minimise modal again, in case $('.modal').removeclass('expanded');


Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -