0

私は自分のページで jquery-ui-1.7.2.custom.min.js を使用していましたが、モーダル ダイアログを表示するとページが完全に無効になり、「キャンセル」するか、ダイアログからエスケープしてページを再度有効にします。残念ながら、この UI バージョンは JQuery の Sortable() 機能と互換性がなかったため、jquery-ui-1.10.3 の最新の安定バージョンにアップグレードしました。私のダイアログはで作成されます。

NOT_AVAILABLE_ALERT = $("#modalMessageAlert").dialog(
            {
                position: "center",
                resizable: false,
                bgiframe: true,
                autoOpen: false,
                width: 250,
                height: 130,
                draggable: false,
                modal: true,
                close:function(event,ui){
                    },
                open:function(event,ui){
                    }
                }
            );
        $('.ui-dialog-titlebar').each(function(){
            $(this).text("Unavailable");
            $(this).css("width","235px");
        });

document.ready() 関数内で、次のように開きます

NOT_AVAILABLE_ALERT.dialog("open");

これもうまく開きます。ダイアログへの HTML は次のとおりです。これがこの新しいバージョンの既知の問題なのか、それともこの問題が発生している可能性があるのか​​、わかる人はいますか? ありがとうございました!

<div id="modalMessageAlert" style="left:-200px; display:none">
    <h3>This feature is not available in this demo household.</h3>
    <table width="100%">
        <tr>
            <td align="right">
                <input type="image" src="/applications/Images/close_on.gif" Value="Close" onclick="NOT_AVAILABLE_ALERT.dialog('close');"/>
            </td>
        </tr>
    </table>
</div>
4

0 に答える 0