phpvms/public/vendor/popper.js/docs/_includes/scripts.html

28 lines
1.1 KiB
HTML
Raw Normal View History

2017-08-16 07:07:14 +08:00
<!-- Scripts -->
<script src="https://cdn.jsdelivr.net/interact.js/1.2.6/interact.min.js"></script>
<script src="js/jquery.min.js"></script>
<script src="js/jquery.scrollex.min.js"></script>
<script src="js/jquery.scrolly.min.js"></script>
<script src="js/skel.min.js"></script>
<script src="js/util.js"></script>
<script src="https://platform.twitter.com/widgets.js"></script>
<!--[if lte IE 8]><script src="js/ie/respond.min.js"></script><![endif]-->
<script src="https://unpkg.com/popper.js@^1"></script>
<script src="https://unpkg.com/tooltip.js@^1"></script>
<script src="js/jquery.nanoscroller.js"></script>
<script>
$('h1[id], h2[id], h3[id], h4[id], h5[id]').each(function(i, el) {
var name = $(el).prev().find('a[name]:not([href])').attr('name');
if (!name) {
name = $(el).attr('id');
$(el).attr('id', '');
$(el).prepend('<a name="' + name + '"></a>')
}
$(el).wrap('<a class="anchor-wrapper" href="#' + name + '"></a>')
$(el).append('<i class="fa fa-link link-anchor" />');
});
</script>
<script src="js/main.js"></script>