<!DOCTYPE html>
<html>
<head>
<title>Bootstrap Example</title>
<link href = /bootstrap/css/bootstrap.min.css rel = stylesheet>
<script src = /scripts/jquery.min.js></script>
<script src = /bootstrap/js/bootstrap.min.js></script>
</head>
<body>
<div style = padding: 100px 100px 10px;>
This is a <a href = # class = tooltip-show data-toggle = tooltip
title = show>Tooltip on method show</a>.
This is a <a href = # class = tooltip-hide data-toggle = tooltip
data-placement = left title = hide>Tooltip on method hide</a>.
This is a <a href = # class = tooltip-destroy data-toggle = tooltip
data-placement = top title = destroy>Tooltip on method destroy</a>.
This is a <a href = # class = tooltip-toggle data-toggle = tooltip
data-placement = bottom title = toggle>Tooltip on method toggle</a>.
<br><br><br><br><br><br>
<p class = tooltip-options >
This is a <a href = # data-toggle = tooltip title = <h2>'am Header2
</h2>>Tooltip on method options</a>.
</p>
<script>
$(function () { $('.tooltip-show').tooltip('show');});
$(function () { $('.tooltip-hide').tooltip('hide');});
$(function () { $('.tooltip-destroy').tooltip('destroy');});
$(function () { $('.tooltip-toggle').tooltip('toggle');});
$(function () { $(.tooltip-options a).tooltip({html : true });});
</script>
</div>
</body>
</html>
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。