Colorbox Lightbox - 移除IFrame的垂直滚动条 [英] Colorbox Lightbox - Remove Vertical Scrollbar of an IFrame
本文介绍了Colorbox Lightbox - 移除IFrame的垂直滚动条的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
<!DOCTYPE html>
<html>
<head>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="http://www.jacklmoore.com/colorbox/jquery.colorbox.js" type="text/javascript" ></script>
<link rel="stylesheet" href="http://www.jacklmoore.com/colorbox/example4/colorbox.css" type="text/css" media="screen"/>
<script type="text/javascript">
$(document).ready(function () {
$("#test").click(function () { //on clicking the link above
$(this).colorbox({iframe:true, width:"90%", height:"100%"});
});
});
</script>
</head>
<body>
<h3>External Form</h3>
<a href="https://dev88.wufoo.com/forms/ze7xusq0j2tum9/" id="test">Please fill out my form.</a>
</body>
</html>
现在工作正常,但我需要删除滚动条在这段代码,如何删除垂直滚动条的iframe ?
It works fine now, but i need remove scrollbar in this code, how to remove vertical scrollbar of iframe?
任何人都可以帮助我。
推荐答案
p>
Try this.
$(document).ready(function () {
$("#test").click(function () { //on clicking the link above
$(this).colorbox({iframe:true, width:"90%", height:"100%", scrolling: false});
});
});
这篇关于Colorbox Lightbox - 移除IFrame的垂直滚动条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文