I am currently working on creating a navigation bar with icon-only buttons that display tooltips when touched or tapped. Here is the code I have implemented:
$('a[rel="tooltip"]').tooltip({
animated: 'fade',
placement: 'bottom',
});
<ul class="nav nav-tabs">
<li class="active"><a id="Textcolor" data-toggle="tab" rel="tooltip" data-original-title='Home' href="#sectionA"><i id="homeicon" class="fa fa-lg fa-home"></i></a></li>
<li><a id="Textcolor2" data-toggle="tab" rel="tooltip" data-original-title='Profile' href="#sectionB"><i id="profileicon" class="fa fa-lg fa-user"></i></a></li>
<li><a id="Messages" data-toggle="tab" rel="tooltip" data-original-title='Messages' href="#"><i id="messageicon" class="fa fa-lg fa-envelope"></i></a></li>
<li><a id="Notifications" data-toggle="tab" rel="tooltip" data-original-title='Notifications' href="#sectionA"><i id="bellicon" class="fa fa-lg fa-bell"></i></a></li>
<li><a id="Gameification" data-toggle="tab" rel="tooltip" data-original-title='Gameification' href="#"><i id="gameicon" class="fa fa-lg fa-gamepad"></i></a></li>
While the tooltips are displaying correctly beneath each icon, I am looking for a way to make them disappear after 2 to 3 seconds when triggered by the rel="tooltip"
attribute. Any suggestions on how to achieve this?
Thank you in advance.