jquery-ui - 使用 jQuery UI 选项卡功能,为按钮获取多行但应该只有一行
问题描述
使用 jQuery UI 选项卡,并希望根据按钮的数量显示单行选项卡,但显示多行。这与 Bootstrap 网格一起使用,这可能是导致问题的原因。
使用:
- jQuery UI - v1.12.1 - 2020-11-09
- 引导程序 v4.5.0
HTML 定义:
<div id="informationSourceTabs">
<ul>
<li><a href="#customerNameRefineryTab">Customer Name Refinery</a></li>
<li><a href="#customerSSOT_APISourceTag">Customer Registry</a></li>
</ul>
<div id="customerNameRefineryTab">
....
</div>
<div id="customerSSOT_APISourceTag">
....
</div>
</div>
Javascript:
$("#informationSourceTabs").tabs();
比较直接的东西。任何想法都会非常有帮助。
解决方案
推荐阅读
- python - Groupby,透视并返回熊猫数据框中的所有列
- maven - 如何为任何 jOOQ 错误停止 Maven 构建?
- assert - 如何在 CppUnitTest 框架中断言两个向量是否相等
- c# - c#无法在字符串中插入换行符
- python - pandas:仅当它出现在字符串中的数字之后才删除点
- reactjs - ReCharts xaxis 标签现在显示自定义域
- node.js - 对事件调用异步函数时,JavaScript 堆内存不足
- c# - Groupbox 在 Visual Studio C# Winform 中消失了
- javascript - 在 React 中是否有任何本地方法可以将导入的 SVG 渲染为带有地图功能的道具?
- ios - Xcode Interface Builder 与 UIImageView 发生故障?