0
我遇到以下问题。我有一个在fancybox中打开的表单。点击提交后,我让我的PHP重定向到一个新的HTML“消息发送成功”。但是,窗口大小很大,在提交表单后不会应用调整大小。我想知道,如何在提交表单后在fancybox窗口中调整大小,以正确的比例显示消息。提交表格后重新调整fancybox
之前提交:
<script type="text/javascript">
$(document).ready(function(){
$(".maskRight").fancybox({
"width" : 420,
"height" : 495,
"autoScale" : false,
"transitionIn" : "none",
"transitionOut" : "none",
"type" : "iframe"
});
$.fancybox.resize;
});
</script>
提交后:
我已经测试过这个方法。它显示以下错误:“未捕获TypeError:对象函数(obj)” –
我很确定有更多的错误消息 – urz0r
在这里:http://pastebin.com/t1Vp6gGk –