1
我在我的頁面,iframe中有iframe我有一個按鈕應該打開我的頁面中心窗口。打開彈出在劍道UI模式的中心
$(function() {
var offset = 0;
var windowWidth = $(document).width();
var parametrs = '[email protected]&[email protected]';
var popupWindow = $(".popupWindow").each(function() {
var popupWindows = $(this).kendoWindow({
iframe: true,
width: $(document).width() - 25,
height: 300,
resizable: false,
draggable: false,
actions: ["Minimize", "Maximize", "Close"],
visible: false,
content: '@Url.Action("Index", "Editor")?' + parametrs,
}).data('kendoWindow');
var parent = $(this).parent();
parent.css("top", parent.offset().top + offset);
offset += parent.outerHeight();
popupWindows.open();
});
$("#container").sortable();
});
我使用kendo ui窗口。
問題是? ) –