【问题标题】:How to add Bootstrap tooltip? [closed]如何添加引导工具提示? [关闭]
【发布时间】:2013-12-01 11:46:48
【问题描述】:

我想在我的代码上添加一个工具提示:

<a class="fa fa-facebook-square"
      href="https://www.facebook.com/sharer/sharer.php?u={{url absolute="true"}}" 
      onclick="window.open(this.href, 'facebook-share','width=580,height=296');return false;">
<span class="hidden">Facebook</span> </a>

【问题讨论】:

  • 我的代码有点不同
  • 也许不同,也许不一样。您必须先尝试一下,然后再询问。要求代码是题外话,只会带来反对意见。如有任何疑问以及如何改进帖子的提示,请咨询help center

标签: css html twitter-bootstrap


【解决方案1】:

这段代码应该可以工作。如果没有,请告诉我。

<a class="fa fa-facebook-square"
      href="https://www.facebook.com/sharer/sharer.php?u={{url absolute="true"}}" 
      onclick="window.open(this.href, 'facebook-share','width=580,height=296');return false;
      data-toggle="tooltip"
      data-placement="right"
      title="This is a tooltip!"">
<span class="hidden">Facebook</span> </a>

【讨论】:

  • @MdNurullahHussain 谢谢!如果您需要更多帮助,请告诉我!你可以在这里找到我的电子邮件:nahtnam.com
猜你喜欢
  • 2016-04-28
  • 2016-09-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2013-03-08
  • 1970-01-01
  • 2019-03-17
相关资源
最近更新 更多