页面未在fullcalendar eventclick上的Fancybox poup中加载 [英] page not load in Fancybox poup on fullcalendar eventclick

查看:90
本文介绍了页面未在fullcalendar eventclick上的Fancybox poup中加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在.net mvc4工作。我正在使用事件编辑时使用jquery fullcalendar。我将调用fancybox弹出窗口。 probelm是fullcalendar eventclick弹出窗口,仅显示未加载的页面,错误消息只是像这样抛出请求的内容无法加载。请稍后重试。我正在尝试各种方式来调用页面弹出,但我不知道如何加载我的csHtml文件来编辑事件。



以下代码:



i在eventclick上调用fancybox popup就像这样。



eventClick:function(event){

if(event.url){

$(event.url).fancybox({

minWidth:650,

minHeight:430,

maxWidth:650,

maxHeight:430,

fitToView:false,

宽度:'70%',

身高:'70%',

autoSize:true,

closeClick:false,

openEffect:'弹性',

closeEffect:'弹性',

href:event.url

});

返回false;

}



}



任何人都知道如何调用fancybox弹出....



我在洞应用程序中使用的弹出窗口相同,所以我不能使用另一个弹出窗口

I am working in .net mvc4. I am using jquery fullcalendar when i going to event Edit. I will call the fancybox popup. the probelm is fullcalendar eventclick popup only showing page not loaded, error message only throwing like this "The requested content cannot be loaded.Please try again later." I am trying various way to call the page to popup, but i don't know how to load the my csHtml file for edit the event.

this following code:

i call the fancybox popup on eventclick like this.

eventClick: function (event) {
if (event.url) {
$(event.url).fancybox({
minWidth: 650,
minHeight: 430,
maxWidth: 650,
maxHeight: 430,
fitToView: false,
width: '70%',
height: '70%',
autoSize: true,
closeClick: false,
openEffect: 'elastic',
closeEffect: 'elastic',
href:event.url
});
return false;
}

}

anybody know how the call the fancybox popup....

The same popup I used in hole application so i can't use the another one popup

推荐答案

(event.url).fancybox({

minWidth:650,

minHeight:430,

maxWidth:650,

maxHeight:430,

fitToView:false,

宽度:'70%',

身高:'70%',

autoSize:true,

closeClick:false,

openEffect:'elastic',

closeEffect:'弹性',

href:event.url

});

返回false;

}



}



任何人都知道如何调用fancybox弹出....



我在洞应用程序中使用的弹出窗口相同,所以我不能使用另一个弹出窗口
(event.url).fancybox({
minWidth: 650,
minHeight: 430,
maxWidth: 650,
maxHeight: 430,
fitToView: false,
width: '70%',
height: '70%',
autoSize: true,
closeClick: false,
openEffect: 'elastic',
closeEffect: 'elastic',
href:event.url
});
return false;
}

}

anybody know how the call the fancybox popup....

The same popup I used in hole application so i can't use the another one popup


这篇关于页面未在fullcalendar eventclick上的Fancybox poup中加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆