jQuery UI Dialog minHeight Option Last Updated : 12 Jan, 2021 Comments Improve Suggest changes Like Article Like Report Dialog minHeight option is used to set the minimum height that can be set to the dialog box. By default, value is 150. Syntax: $( ".selector" ).dialog({ minHeight : 150 }); Approach: First, add jQuery UI scripts needed for your project. <link href = "https://code.jquery.com/ui/1.10.4/themes/ui-lightness/jquery-ui.css" rel = "stylesheet"> <script src = "https://code.jquery.com/jquery-1.10.2.js"></script> <script src = "https://code.jquery.com/ui/1.10.4/jquery-ui.js"></script> Example 1: HTML <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <link href= "https://code.jquery.com/ui/1.10.4/themes/ui-lightness/jquery-ui.css" rel="stylesheet"> <script src="https://code.jquery.com/jquery-1.10.2.js"></script> <script src="https://code.jquery.com/ui/1.10.4/jquery-ui.js"> </script> <script> $(function () { $("#gfg").dialog({ autoOpen: false, minHeight: 300 }); $("#geeks").click(function () { $("#gfg").dialog("open"); }); }); </script> </head> <body> <div id="gfg" title="GeeksforGeeks"> Jquery UI| minHeight dialog option </div> <button id="geeks">Open Dialog</button> </body> </html> Output: Example 2: HTML <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <link href= "https://code.jquery.com/ui/1.10.4/themes/ui-lightness/jquery-ui.css" rel="stylesheet"> <script src="https://code.jquery.com/jquery-1.10.2.js"></script> <script src="https://code.jquery.com/ui/1.10.4/jquery-ui.js"> </script> <script> $(function () { $("#gfg").dialog({ autoOpen: false, minHeight: 150 }); $("#geeks").click(function () { $("#gfg").dialog("open"); }); }); </script> </head> <body> <div id="gfg" title="GeeksforGeeks"> Jquery UI| minHeight dialog option </div> <button id="geeks">Open Dialog</button> </body> </html> Output: Comment More infoAdvertise with us Next Article jQuery UI Dialog minHeight Option T taran910 Follow Improve Article Tags : Web Technologies HTML JQuery jQuery-UI Similar Reads jQuery UI Dialog maxHeight Option Dialog maxHeight option is used to set the maximum height that can be set to the dialog box. By default, value is false. Syntax: $( ".selector" ).dialog({ maxHeight : 10 }); Approach: First, add jQuery UI scripts needed for your project. <link href = "https://code.jquery.com/ui/1.10.4/themes/ui-l 2 min read jQuery UI Dialog minWidth Option Dialog minWidth option is used to set the minimum width that can be set to the dialog box in pixels. By default, the value is 150. Syntax: $( ".selector" ).dialog({ minWidth : 150 }); Approach: First, add jQuery UI scripts needed for your project. <link href="https://code.jquery.com/ui/1.10.4/the 1 min read jQuery UI Dialog maxWidth Option jQuery UI consists of GUI widgets, visual effects, and themes implemented using HTML, CSS, and jQuery. jQuery UI is great for building UI interfaces for the webpages. The jQuery UI Dialog maxWidth option is used to set the maximum width to which the dialog can be resized in pixels. Syntax: $( ".sele 1 min read jQuery UI Dialog position Option jQuery UI consists of GUI widgets, visual effects, and themes implemented using HTML, CSS, and jQuery. jQuery UI is great for building UI interfaces for the webpages. The jQuery UI Dialog position Option is used to set the position of dialog box. Syntax: $( ".selector" ).dialog({ position: { my: "le 1 min read jQuery Mobile Page dialog Option jQuery Mobile is an HTML5 based user interface system designed to make responsive websites and apps that are accessible on all smartphone, tablet, and desktop devices. Page is a widget in jQuery Mobile to display single or multiple linked components within the HTML document. It is responsible for ma 2 min read Like