ArielOctavio / jquery-dialogextend

Automatically exported from code.google.com/p/jquery-dialogextend
0 stars 0 forks source link

Add animation effect #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Add animation when:
- maximize
- minimize
- collapse
- restore

Animation can be turned off. Default is true. Example:
$("#my-dialog").dialog().dialogExtend({ "animation" : false });

Original issue reported on code.google.com by crab.c...@gmail.com on 24 Dec 2010 at 3:18

GoogleCodeExporter commented 8 years ago
Use "animate" instead of "animation" in order to make it consistent with naming 
of other jQuery UI plugins.

Original comment by crab.c...@gmail.com on 29 Dec 2010 at 1:27

GoogleCodeExporter commented 8 years ago
hi, When i am using iFrame with the dialog page like below,

After open the dioalog, i am going to Minimize(-) then click to restore 
options, it will always refreshing. i need no need to refresh, How it's 
possible?.. 

Can you help me please...(spmaniforever@gmail.com)

1)HTML Source
        <div id="dvSearch">
            <iframe id="ifSearch">
            </iframe>
        </div>

2) script
$("#dvSearch").dialog({
        height: 520, width: 900, modal: false, resizable: true, draggable: true,
        close: function() {
            $("#ifSearch").attr("src", "");
            $("#dvNotifyModalPopup").hide();
        }
  }).dialogExtend({
        "close": true,
        "maximize": true,
        "minimize": true,
        "dblclick": "collapse",
        "icons": {
            "close": "ui-icon-closethick",
            "maximize": "ui-icon-extlink",
            "minimize": "ui-icon-minus",
            "restore": "ui-icon-newwin"
        },
        "events": {
            "minimize": function(evt, dlg) {  alert('min'); },
            "maximize": function(evt, dlg) {  alert('max');  },
            "restore": function(evt, dlg) {  alert('res'); },
            "collapse": function(evt, dlg) { alert('coll'); },
            "load": function(evt, dlg) { alert('load'); $("#ifSearch").attr("src", "testpage.aspx"); }
         }
    });

--------------------------------------------------------------------------------
------------------------------------
Thanks in Advance
Mani S.P
spmaniforever@gmail.com

Original comment by spmanifo...@gmail.com on 6 Nov 2013 at 10:02