【发布时间】:2016-11-13 12:41:26
【问题描述】:
我使用引导弹出框。
<script>
$(document).ready(function(){
$('a[rel=popover]').popover({
html: true,
trigger: 'hover',
placement: 'right',
content: function(){return '<img src="'+$(this).data('img') + '" />';}
});
});
</script>
但是如下图所示,大图像不包含在框架中。
我该如何解决这个问题?
【问题讨论】:
-
在你的 CSS .popover { width: %framewidth%px;并确保使用相同的值调整最大宽度
-
我已经尝试过了,但是没有用。