2021年1月15日星期五

jQuery Dialog Window Missing Minimize

I am making a jQuery Dialog Box which works perfectly.

My close button shows... However my Minimize Button is not appearing.

Could someone inspect my code and tell me what the issue could be.

Also I have read around the internet and they all talk about the close button, but I need a Minimize Button.

<html xmlns="http://www.w3.org/1999/xhtml">    <head>    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">    <!---<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />--->    <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE" />    <title>test page</title>    <!-- BELOW css IS REQURED   -->    <link rel="stylesheet" href="Window_Popup/css/dialog_style_window_a.css" />  </head>    <body>    <script src="https://code.jquery.com/jquery-3.5.1.js"></script>    <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>    <!--WINDOW PAGE IN THIS DIV-->    <div id="email_window_a"></div>    </html>  <script>    $(document).ready(function() {      $(document).on("click", ".open_window", function(e) {        // open data        $("#email_window_a").load("", function() {          ///USE URL PATH FROM INDEX PAGE/          $("#email_window_a")            .load("")            .dialog({              maximizable: true,              minimizable: true,              resizable: true,              draggable: true,              show: "fold",              hide: "fold",              title: $("#email_window_tile_a").attr("title"), ///  THIS SHOW  dialog TITLE MATCH WITH DIV ID  IF NEED ADD + VAR NAME              open: function() {},              close: function(                event,                ui //// CLOSE FUNCTION HELP EMPTY DIV              ) {                visibility: hidden;                $("#email_window_a").dialog("close");                $("#email_window_a").empty();              }            });        });      });    });  </script>  <li><a href='#' class='open_window' data-url='Composed-Quick/index.php?pageName=main&' data-alertm='0' data-windsize='a' data-windwidth='1510' data-windheight='810'>Quick Compose</a></li>
https://stackoverflow.com/questions/65745417/jquery-dialog-window-missing-minimize January 16, 2021 at 08:48AM

没有评论:

发表评论