I have been struggling to customize tooltips using a library called tooltipster. Here is what I currently have:
Head of index.html:
<head>
<!--TOOLTIP CSS-->
<link rel="stylesheet" type="type/css" href="node_modules/tooltipster-master/css/tooltipster.css">
<!-- JQUERY -->
<script src="node_modules/jquery/dist/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
<!-- TOOLTIP SCRIPT -->
<script src="node_modules/tooltipster-master/js/jquery.tooltipster.min.js"></script>
<script>
$(document).ready(function() {
$('.my-tooltip').tooltipster({
theme: 'tooltipster-noir'
});
});
</script>
</head>
Body of index.html:
<div class="my-tooltip" title="the message i want to tooltip out">Hover over me!</div>
However, the tooltips are displaying in a very basic way without any customization. If anyone has experience with this and can provide some advice, I would greatly appreciate it!