[英]Fancybox: Unable to fix height and width
我正在使用Fancybox 1.2.6和JQuery 1.2.6,
碼:
<script type="text/javascript">
$(document).ready(function() {
$("a.iframe").fancybox({
'width' : 300,
'height' : 200,
'type' : 'iframe',
'autoScale' : false,
'transitionIn' : 'fade',
'transitionOut' : 'fade',
'speedIn' : 600,
'speedOut' : 200,
'showCloseButton' : false,
'titleShow' : false
});
});
</script>
<a class="iframe" id="iframe" href="test.html">iframe</a>
在這里,我無法固定窗口的高度和寬度。 下面我附上了我的輸出圖像。 有什么辦法可以固定高度和寬度?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.