GIJGO
Examples
Documentation
Report a Bug
Download
Draggable Modal
Bootstrap Modal
Bootstrap 4 Modal
Bootstrap 5 Modal
Material Design
Events Logger
HTML Configuration
Gijgo.com
Dialog
Examples
Material Design
Material Design Modal Resizable
Drag modal borders in order to resize
Preview
Front-End Code
Edit
<!DOCTYPE html> <html> <head> <title>Resizable Material Design Modal</title> <meta charset="utf-8" /> <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script> <script src="https://unpkg.com/gijgo@1.9.14/js/gijgo.min.js" type="text/javascript"></script> <link href="https://unpkg.com/gijgo@1.9.14/css/gijgo.min.css" rel="stylesheet" type="text/css" /> </head> <body> <button class="gj-button-md" onclick="dialog.open()">Reopen</button> <div id="dialog" title="Material Design Modal" width="550"> <div data-role="body"> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </div> <div data-role="footer"> <button class="gj-button-md" onclick="dialog.close()">OK</button> <button class="gj-button-md" data-role="close">Cancel</button> </div> </div> <script type="text/javascript"> var dialog; $(document).ready(function () { dialog = $("#dialog").dialog({ resizable: true, minWidth: 300, maxWidth: 700, minHeight: 200, maxHeight: 450, modal: true }); }); </script> </body> </html>
;