twitter-bootstrap - Twitter Bootstrap 弹出窗口 : show all at the same time

标签 twitter-bootstrap twitter-bootstrap-rails

如何同时显示页面上的所有弹出窗口?

最佳答案

假设您的 HTML 如下所示:

<a href="#" rel="popover" title="My nicer popover text">hover over me</a>

您应该将trigger选项设置为manual并无条件显示您的弹出窗口:

$('[rel=popover]').popover({'trigger': 'manual'});
$('[rel=popover]').popover('show');

关于twitter-bootstrap - Twitter Bootstrap 弹出窗口 : show all at the same time,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11430169/

相关文章:

ruby-on-rails - 如何将 Wrap Bootstrap 主题集成到 Rails 应用程序中?

ruby-on-rails - rails : Issue with less after bootstrap update -- Cannot load such file -- less

css - 使用 breadcrumbs_on_rails gem 时,为什么我的面包屑在本地的样式与在 heroku 上的样式不同?

html - 导航栏链接颜色在 Bootstrap 中不起作用

javascript - GitHub Pages + Jekyll + Bootstrap + CDN问题

css - 使用 Bootstrap 在大型显示器上创建固定大小的正方形

ruby-on-rails - 为什么 twitter-bootstrap-rails 生成的 View 使用 model_class.human_attribute_name(:column) instead of just a string?

html - 使用 div 对 bootstrap 列进行分组

css - Bootstrap 附加菜单在菜单项单击时中断

ruby - 在 Rails 应用程序中生成 Flat UI Pro 时无法在任何源路径中找到 'flat-ui.css'