我在我的网站上使用fancybox来显示某些页面。
我的问题是,我不知道如何将其设置为固定高度,并在必要时向下滚动以查看更多内容(如果内容超出了fancybox的特定高度参数)。
以下是我在页面中使用的参数:
<script>
$(document).ready(function() {
$(".fancybox_link").fancybox({
'width' : 680,
'height' : 550,
'autoScale' : false,
'autoDimensions' : false,
'scrolling' : 'no',
'transitionIn' : 'none',
'transitionOut' : 'none',
'type' : 'iframe'
});
});
</script>
我应该怎么做才能让内容在高度上流动并带有滚动条呢? 谢谢。