Why jQuery UI Dialog has no minimize, maximize buttons? -


i using jquery-1.9.1 , jquery-ui-1.10.2 popup dialog, code below:

<script type="text/javascript" src="js/jquery-1.9.1.min.js"></script> <script type="text/javascript" src="js/jquery-ui-1.10.2.min.js"></script> <link rel="stylesheet" type="text/css" href="css/jqueryui/theme/redmond/jquery-ui-   1.10.2.custom.min.css" /> <script type="text/javascript"> $(function(){     $("#dialog").dialog(); }); </script>  </head>   <body> <div id="dialog">      hello, dialog </div> </body> 

the dialog has close button, no minimize , maximize buttons, want show them. find in this page, dialog has minimize , maximize buttons, don't find special settings dialog in author's javascript code, , jquery-ui version s/he used 1.8.16, jquery-ui of version has removed functionality?

ps: jquery-1.9.1.min.js , jquery-ui-1.10.2.min,js downloaded official website, no customization change.

looking @ source of jquery ui in example looks guy runs blog site added customization minimize , maximize support. can find following comment in code.

/*  * jquery ui dialog 1.8.16  * w/ minimize & maximize support  * elijah horton (fieryprophet@yahoo.com) */ 

you need add customization's dialog support or include library extends jquery ui dialog. looks this site has plugin called jquery-dialogextend asking for.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -